[New-bugs-announce] [issue45397] Doc for turtle.write missing the tuple part of the font param in 3.10+

jg report at bugs.python.org
Wed Oct 6 23:12:17 EDT 2021


New submission from jg <jggammon at hotmail.com>:

In the version 3.10 and 3.11 python turtle doc, the turtle.write line shows font without it's tuple parenthesis. Something change in 3.10 that makes it look like font='Arial' and 8 and 'normal' are 3 separate parameters, when it should be one tuple parameter font=(x,y,z).

Ex. of wrong entry (URL=https://docs.python.org/3.11/library/turtle.html#turtle.write)
line=turtle.write(arg, move=False, align='left', font='Arial', 8, 'normal')

Ex. of correct entry (https://docs.python.org/3.9/library/turtle.html#turtle.write)
line=turtle.write(arg, move=False, align="left", font=("Arial", 8, "normal"))

----------
assignee: docs at python
components: Documentation
messages: 403348
nosy: docs at python, jggammon
priority: normal
severity: normal
status: open
title: Doc for turtle.write missing the tuple part of the font param in 3.10+
versions: Python 3.10

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


More information about the New-bugs-announce mailing list