[issue25415] I can create instances of io.IOBase

Gerrit Holl report at bugs.python.org
Thu Oct 15 19:05:33 EDT 2015


Gerrit Holl added the comment:

When the documentation says there is no public constructor, I expected it would be impossible to create instances, as in:

TypeError: cannot create 'builtin_function_or_method' instances

Perhaps I misunderstand the documentation.

----------

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


More information about the Python-bugs-list mailing list