8000 gh-87506: Document that `json.load*()` can raise `UnicodeDecodeError` by srinivasreddy · Pull Request #127355 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-87506: Document that json.load*() can raise UnicodeDecodeError #127355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove space
  • Loading branch information
srinivasreddy committed Jan 8, 2025
commit a433504b74953545222d721300238ea09a45df9e
2 changes: 1 addition & 1 deletion Doc/library/json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Basic Usage
:raises JSONDecodeError:
When the data being deserialized is not a valid JSON document.

: raises UnicodeDecodeError:
:raises UnicodeDecodeError:
If the binary file does not contain UTF-8, UTF-16 or UTF-32 encoded data.

.. versionchanged:: 3.1
Expand Down
Loading
0