Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
639ce96b
Commit
639ce96b
authored
Apr 11, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mentions of "long".
parent
711af3ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/json.rst
Doc/library/json.rst
+4
-4
No files found.
Doc/library/json.rst
View file @
639ce96b
...
...
@@ -118,7 +118,7 @@ Basic Usage
file-like object).
If *skipkeys* is ``True`` (default: ``False``), then dict keys that are not
of a basic type (:class:`str`, :class:`unicode`, :class:`int`,
:class:`long`,
of a basic type (:class:`str`, :class:`unicode`, :class:`int`,
:class:`float`, :class:`bool`, ``None``) will be skipped instead of raising a
:exc:`TypeError`.
...
...
@@ -232,7 +232,7 @@ Encoders and decoders
+---------------+-------------------+
| string | unicode |
+---------------+-------------------+
| number (int) | int
, long
|
| number (int) | int
|
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
...
...
@@ -304,7 +304,7 @@ Encoders and decoders
+-------------------+---------------+
| str, unicode | string |
+-------------------+---------------+
| int,
long, float
| number |
| int,
float
| number |
+-------------------+---------------+
| True | true |
+-------------------+---------------+
...
...
@@ -319,7 +319,7 @@ Encoders and decoders
(to raise :exc:`TypeError`).
If *skipkeys* is ``False`` (the default), then it is a :exc:`TypeError` to
attempt encoding of keys that are not str, int,
long,
float or None. If
attempt encoding of keys that are not str, int, float or None. If
*skipkeys* is ``True``, such items are simply skipped.
If *ensure_ascii* is ``True`` (the default), the output is guaranteed to be
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment