code: def _read_magic(self):
      magic = b""
      # read until whitespace or longest available magic number
      for _ in range(6):
          c = self.fp.read(1)
          if not c or c in b_whitespace:
              break
          magic += c
      return magic
  
imports: from .None import Image, ImageFile
  from ._binary import i16be
  from ._binary import o8
  from ._binary import o32le
label_desc: Use image node_id 1 for calling the PpmImageFile obj's underlying member method code with example usage: obj._read_magic() and returns: magic