class_docstr: Wrapper for bytesio object that treats either CR or LF as end of line.
class_docstr_tok: ["Wrapper","for","bytesio","object","that","treats","either","CR","or","LF","as","end","of","line","."]
code: def readline(self):
      s = self.char or b""
      self.char = None
  
      c = self.fp.read(1)
      while c not in b"\r\n":
          s = s + c
          c = self.fp.read(1)
  
      self.char = self.fp.read(1)
      # line endings can be 1 or 2 of \r \n, in either order
      if self.char in b"\r\n":
          self.char = None
  
      return s.decode("latin-1")
  
imports: import io
  import os
  import re
  import sys
  from .None import Image, ImageFile
  from ._binary import i32le
label_desc: Use image node_id 3 for calling the PSFile obj's underlying member method code with example usage: obj.readline() and returns: s