mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 15:00:18 +00:00
markup fiddling
This commit is contained in:
+1
-1
@@ -406,7 +406,7 @@ def protocol_version(file_object):
|
||||
<tr><th>*
|
||||
<td><code>null</code>
|
||||
<td><code><a href=native-datatypes.html#none>None</a></code>
|
||||
<tfoot><td colspan=3>* All <abbr>JSON</abbr> values are case-sensitive.
|
||||
<tfoot><tr><td colspan=3>* All <abbr>JSON</abbr> values are case-sensitive.
|
||||
</table>
|
||||
|
||||
<p>Did you notice what was missing? Tuples <i class=baa>&</i> bytes! <abbr>JSON</abbr> has an array type, which the <code>json</code> module maps to a Python list, but it does not have a separate type for “frozen arrays” (tuples). And while <abbr>JSON</abbr> supports strings quite nicely, it has no support for <code>bytes</code> objects or byte arrays.
|
||||
|
||||
Reference in New Issue
Block a user