[issue23073] Broken turtle example in Cmd documentation
New submission from bbc: The documentation page for the cmd module contains an example with the turtle module: https://docs.python.org/3.4/library/cmd.html#cmd-example It seems like the turtle module has changed quite a bit since the code was written, and exposes a Pen class instead of all the various movement functions. The example, while still useful, cannot be executed as is. I like the example and would be happy to provide an idiomatic replacement if you think this is necessary. -- assignee: docs@python components: Documentation messages: 232829 nosy: bbc, docs@python priority: normal severity: normal status: open title: Broken turtle example in Cmd documentation type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23073 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23073] Broken turtle example in Cmd documentation
Ethan Furman added the comment: Please do! Working examples are better than non-working ones. :) -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23073 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23073] Broken turtle example in Cmd documentation
Ethan Furman added the comment: While you're at it, could you also sign the contributors' license agreement? https://www.python.org/psf/contrib/contrib-form/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23073 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23073] Broken turtle example in Cmd documentation
bbc added the comment: It turns out the script is fine. I could have investigated it more thoroughly at first if I had more carefully read the docs for turtle. I thought those functions were not exposed because they were reportedly not found after I copy-pasted, executed the example script and entered commands. The reason was my file was named turtle.py. Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23073 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23073] Broken turtle example in Cmd documentation
Ethan Furman added the comment: No worries, thanks for following up. -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23073 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com