def _getpen():
    if Turtle._pen is None:
        Turtle._pen = Turtle()
    return Turtle._pen
Create the 'anonymous' turtle if not already present.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/site-packages/turtle.py/_getpen