[docs] I suspect a reversal
Georg Brandl
georg at python.org
Sun Oct 6 13:17:41 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 !
Hi Edward,
thanks for the report; this was indeed a bug in the docs, is now fixed and
should appear online soon.
cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
iEYEARECAAYFAlJRRtUACgkQN9GcIYhpnLA1BwCfY8aI0o1MoaRgiIKGww8mfSRC
2YYAn3qJ9E0fF+8CJ7cLUodoEki7yraF
=yj+P
-----END PGP SIGNATURE-----
More information about the docs
mailing list