class_docstr: Subclass of string to allow iTXt chunks to look like strings while
  keeping their extra information
class_docstr_tok: ["Subclass","of","string","to","allow","iTXt","chunks","to","look","like","strings","while","keeping","their","extra","information"]
docstr: :param cls: the class to use when creating the instance
  :param text: value for this key
  :param lang: language code
  :param tkey: UTF-8 version of the key name
docstr_tok: [":","param","cls",":","the","class","to","use","when","creating","the","instance",":","param","text",":","value","for","this","key",":","param","lang",":","language","code",":","param","tkey",":","UTF-8","version","of","the","key","name"]
code: def __new__(cls, text, lang=None, tkey=None):
      """
      :param cls: the class to use when creating the instance
      :param text: value for this key
      :param lang: language code
      :param tkey: UTF-8 version of the key name
      """
  
      self = str.__new__(cls, text)
      self.lang = lang
      self.tkey = tkey
      return self
  
imports: import logging
  import re
  import struct
  import zlib
  from .None import Image, ImageFile, ImagePalette
  from ._binary import i8, i16be, i32be, o16be, o32be
  from ._util import py3
label_desc: Use image node_id 1 for calling the iTXt obj's underlying member method code with example usage: obj.__new__(cls, text, lang, tkey) and returns: self