[New-bugs-announce] [issue21488] codecs.encode/decode documentation inconsistency

Brad Aylsworth report at bugs.python.org
Tue May 13 01:37:30 CEST 2014


New submission from Brad Aylsworth:

The documentation page for codecs (https://docs.python.org/2/library/codecs.html) shows keyword arguments for codecs.encode and codecs.decode, but they throw an error if keyword arguments are used. codecs.decode.__doc__ reports 'decode(obj, [encoding[,errors]]) -> object.

This happens on both 2.7.6 and 3.4.0.

----------
assignee: docs at python
components: Documentation
messages: 218380
nosy: Ouaouaron, docs at python
priority: normal
severity: normal
status: open
title: codecs.encode/decode documentation inconsistency
type: resource usage
versions: Python 2.7

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


More information about the New-bugs-announce mailing list