[docs] [issue19910] Document that compile() source may be bytes

Guido van Rossum report at bugs.python.org
Fri Dec 6 17:12:46 CET 2013

New submission from Guido van Rossum:

compile() takes a string, bytes or AST as the "source" argument.  The bytes option are not documented except in the error message you get when you pass something else.  The AST option is in the library docs but not in the function docstring.

assignee: docs at python
components: Documentation
messages: 205383
nosy: docs at python, gvanrossum
priority: normal
severity: normal
status: open
title: Document that compile() source may be bytes
type: enhancement
versions: Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the docs mailing list