[docs] [issue13632] Update token documentation to reflect actual token types

Meador Inge report at bugs.python.org
Mon Dec 19 06:30:01 CET 2011

New submission from Meador Inge <meadori at gmail.com>:

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
>>> token.ELLIPSIS

The attached patch fixes this.  OK?

assignee: docs at python
components: Documentation, Library (Lib)
files: token-docs-v0.patch
keywords: easy, patch
messages: 149818
nosy: docs at python, georg.brandl, meador.inge
priority: low
severity: normal
stage: patch review
status: open
title: Update token documentation to reflect actual token types
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file24046/token-docs-v0.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list