Message253059
According to the [documentation](https://docs.python.org/3/library/io.html#io.IOBase), `io.IOBase` has no public constructors. Yet I can create objects from it:
$ python3.5
Python 3.5.0 (default, Sep 13 2015, 17:20:05)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Python are go!
>>> import io
>>> p = io.IOBase()
>>> p.readable()
False
>>> p.closed
False
# etc...
It doesn't do much, but the documentation is not consistent with the behaviour in practice. |
|
Date |
User |
Action |
Args |
2015-10-15 17:58:55 | Gerrit.Holl | set | recipients:
+ Gerrit.Holl |
2015-10-15 17:58:54 | Gerrit.Holl | set | messageid: <1444931934.97.0.280840323098.issue25415@psf.upfronthosting.co.za> |
2015-10-15 17:58:54 | Gerrit.Holl | link | issue25415 messages |
2015-10-15 17:58:54 | Gerrit.Holl | create | |
|