[docs] [issue27753] py_compile.compile() does not specify if it can accept a file like object or a bytes like object with the file's data.

SilentGhost report at bugs.python.org
Sat Aug 13 13:51:13 EDT 2016


SilentGhost added the comment:

I don't see how this is an improvement. Before it clearly said that the first argument must be file name, now it's an oddly confusing statement. Also, typically we don't list all the possibilities of what the arguments must not be.

----------

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


More information about the docs mailing list