Issue 5820: Very small bug in documentation of json.load() (original) (raw)
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 :)