[issue8968] token type constants are not documented

Georg Brandl report at bugs.python.org
Sat Jun 12 08:38:48 CEST 2010


Georg Brandl <georg at python.org> added the comment:

Five comments:

* I would list them all in one directive, like this:

.. data:: FOO
          BAR
          BAZ

  which makes the display more compact.

* There is no description in that directive.  Best move part of the
  description above them in it.

* NL and COMMENT are defined in tokenize because they are neither 
  defined nor used by the Python tokenizer.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8968>
_______________________________________


More information about the Python-bugs-list mailing list