[issue45872] Turtle: invalid example for write doc

Éric Araujo report at bugs.python.org
Fri Nov 26 14:33:02 EST 2021


Éric Araujo <merwok at netwok.org> added the comment:

The doc for the font parameter is:  a triple (fontname, fontsize, fonttype)
but the default value in the signature is:  font='Arial'

I do not know what’s font name vs font type!
Do you know if it’s valid to have font='Arial', in which case the doc should be amended?  or is the default value wrong?  (also not sure if it’s a default value or an example)

----------
nosy: +eric.araujo
title: Turtle documentation, write() -> Turtle: invalid example for write doc

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45872>
_______________________________________


More information about the Python-bugs-list mailing list