Message253064
“No public constructor” to me means that it is not defined how or if you can construct instances other than by the public subclasses. What do you expect to happen? How do you expect the public subclasses such as FileIO and BufferedReader to work if the base constructor does not work?
The other three base classes (RawIOBase, BufferedIOBase, TextIOBase) also say “there is no public constructor”. However allowing custom subclasses of these is very useful, so I would actually be for removing these restrictions from the documentation, and instead saying that each constructor accepts no arguments. |
|
Date |
User |
Action |
Args |
2015-10-15 22:16:41 | martin.panter | set | recipients:
+ martin.panter, docs@python, Gerrit.Holl |
2015-10-15 22:16:41 | martin.panter | set | messageid: <1444947401.87.0.0691246000567.issue25415@psf.upfronthosting.co.za> |
2015-10-15 22:16:41 | martin.panter | link | issue25415 messages |
2015-10-15 22:16:41 | martin.panter | create | |
|