class_docstr: Sets up printing to the given file. If **fp** is omitted,
  :py:attr:`sys.stdout` is assumed.
class_docstr_tok: ["Sets","up","printing","to","the","given","file",".","If","*","*","fp","*","*","is","omitted",",",":","py",":","attr",":","`","sys.stdout","`","is","assumed","."]
docstr: Draws text at the given position. You must use
  :py:meth:`~PIL.PSDraw.PSDraw.setfont` before calling this method.
docstr_tok: ["Draws","text","at","the","given","position",".","You","must","use",":","py",":","meth",":","`","~PIL.PSDraw.PSDraw.setfont","`","before","calling","this","method","."]
code: def text(self, xy, text):
      """
      Draws text at the given position. You must use
      :py:meth:`~PIL.PSDraw.PSDraw.setfont` before calling this method.
      """
      text = "\\(".join(text.split("("))
      text = "\\)".join(text.split(")"))
      xy = xy + (text,)
      self._fp_write("%d %d M (%s) S\n" % xy)
  
file_path: catboost/contrib/python/Pillow/py2/PIL/PSDraw.py
imports: import sys
  from .None import EpsImagePlugin
  from ._util import py3
label_desc: Use image node_id 8 for calling the PSDraw obj's underlying member method code with example usage: obj.text(xy, text) without return types