[New-bugs-announce] [issue5820] Very small bug in documentation of json.load()

P.C. Shyamshankar report at bugs.python.org
Thu Apr 23 10:42:51 CEST 2009


New submission from P.C. Shyamshankar <sykora at lucentbeing.com>:

The suggestion that non-ASCII based encodings should be wrapped in a 
codecs.getreader instance has a small bug, ie instead of 
codecs.getreader(fp)(encoding), it should be the other way around, 
codecs.getreader(encoding)(fp).

It's a very small bug, and I've got a very small patch for it.

It's my first bug report/patch, so please tell me if I've done 
something stupid :)

----------
assignee: georg.brandl
components: Documentation
files: json_patch.diff
keywords: patch
messages: 86355
nosy: georg.brandl, sykora
severity: normal
status: open
title: Very small bug in documentation of json.load()
versions: Python 3.1
Added file: http://bugs.python.org/file13747/json_patch.diff

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


More information about the New-bugs-announce mailing list