This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients docs@python, georg.brandl, meador.inge
Date 2011-12-19.05:29:00
SpamBayes Score 1.7809468e-09
Marked as misclassified No
Message-id <1324272601.04.0.495106872007.issue13632@psf.upfronthosting.co.za>
In-reply-to
Content
The current token documentation is out of date with respect to the currently available token types:

Python 3.3.0a0 (default:766136049b44+, Dec 18 2011, 21:54:42) 
[GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import token
>>> token.BACKQUOTE
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'BACKQUOTE'
>>> token.RARROW
51
>>> token.ELLIPSIS
52

The attached patch fixes this.  OK?
History
Date User Action Args
2011-12-19 05:30:01meador.ingesetrecipients: + meador.inge, georg.brandl, docs@python
2011-12-19 05:30:01meador.ingesetmessageid: <1324272601.04.0.495106872007.issue13632@psf.upfronthosting.co.za>
2011-12-19 05:29:00meador.ingelinkissue13632 messages
2011-12-19 05:29:00meador.ingecreate