[docs] I suspect a reversal
georg at python.org
Sun Oct 6 13:17:41 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Am 09.05.2013 21:53, schrieb Edward Welbourne:
> Hi doc-team,
> On http://docs.python.org/3/library/codecs.html under codecs.register, I
> see the description: <quote>
> streamreader and streamwriter: These have to be factory functions providing
> the following interface:
> factory(stream, errors='strict')
> The factory functions must return objects providing the interfaces defined
> by the base classes StreamWriter and StreamReader, respectively.
> </quote> and am instantly suspicious: apparently, streamreader should have
> the interface of StreamWriter and streamwrite that of StreamReader. This is
> either a doc bug or a horribly bad choice of names for the .register()
> function's parameters !
thanks for the report; this was indeed a bug in the docs, is now fixed and
should appear online soon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the docs