code: def __init__(self, glyphSet, path=None):
      BasePen.__init__(self, glyphSet)
      if path is None:
          from AppKit import NSBezierPath
  
          path = NSBezierPath.bezierPath()
      self.path = path
  
file_path: catboost/contrib/python/fonttools/fontTools/pens/cocoaPen.py
imports: from fontTools.pens.basePen import BasePen
label_desc: Use image node_id 1 to create a new CocoaPen object from inherited base classes: BasePen with example: obj = CocoaPen(glyphSet, path)