Roundup Robot added the comment:
New changeset cc62d856fc5f by Ezio Melotti in branch '2.7':
#19680: add back documentation for print and exec in the interactive help.
http://hg.python.org/cpython/rev/cc62d856fc5f
--
nosy: +python-dev
___
Python
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19680
Bohuslav Slavek Kabrda added the comment:
Seems that Ezio was faster :)
Yep, the attached patch does seem to solve the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19680
___
Ezio Melotti added the comment:
Attached patch seems to fix the issue.
--
assignee: docs@python - ezio.melotti
keywords: +patch
nosy: +ezio.melotti, georg.brandl
stage: - patch review
type: - behavior
Added file: http://bugs.python.org/file32826/issue19680.diff
Éric Araujo added the comment:
The changeset you refer to may be a backport of a Python 3 changeset, where
print and exec are not keywords but functions (adding Sandro to nosy so that he
may confirm).
Would you like to make a patch to fix this in 2.7?
http://docs.python.org/devguide
New submission from Bohuslav Slavek Kabrda:
Steps to reproduce:
[bkabrda@zizalka python]$ python
help()
help keywords
snip
# prints lots of keywords including print and exec
/snip
help print
no documentation found for 'print'
So either keywords should not list print and exec or the