[docs] [issue2134] Add new attribute to TokenInfo to report specific token IDs

Nick Coghlan report at bugs.python.org
Mon Dec 19 06:56:17 CET 2011

Nick Coghlan <ncoghlan at gmail.com> added the comment:

Meador's patch looks good to me. The docs change for 2.7 and 3.2 would be similar, just with text like "Specific tokens can be distinguished by checking the ``string`` attribute of OP tokens for a match with the expected character sequence." replacing the reference to the new "exact_type" attribute.


Python tracker <report at bugs.python.org>

More information about the docs mailing list