[docs] [issue13677] correct docstring for builtin compile

Terry J. Reedy report at bugs.python.org
Fri Dec 30 22:48:48 CET 2011

Terry J. Reedy <tjreedy at udel.edu> added the comment:

Flags comment applies to 3.2.2 docs and 2.7.2 docs. There is only one additional flag: ast.PyCF_ONLY_AST, so 'flags' should be singular.

As for src and dst, doc has been updated to say 'Compile the source into a code or AST object. ... source can either be a string or an AST object.

'source' should be capitalized.

nosy: +terry.reedy
versions: +Python 2.7, Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list