[Python-checkins] cpython (merge 3.1 -> 3.2): Merge 3.1
eric.araujo
python-checkins at python.org
Wed Apr 27 16:38:32 CEST 2011
http://hg.python.org/cpython/rev/2aaca67ad209
changeset: 69614:2aaca67ad209
branch: 3.2
parent: 69613:6665aadfc45b
parent: 69612:fab8a77a973a
user: Éric Araujo <merwok at netwok.org>
date: Sun Apr 24 02:42:52 2011 +0200
summary:
Merge 3.1
files:
Doc/distutils/examples.rst | 2 +-
Doc/library/json.rst | 2 +-
Lib/json/__init__.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/distutils/examples.rst b/Doc/distutils/examples.rst
--- a/Doc/distutils/examples.rst
+++ b/Doc/distutils/examples.rst
@@ -279,7 +279,7 @@
Where the long description is broken, ``check`` will be able to detect it
by using the :mod:`docutils` parser::
- $ pythontrunk setup.py check --restructuredtext
+ $ python setup.py check --restructuredtext
running check
warning: check: Title underline too short. (line 2)
warning: check: Could not finish the parsing.
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -34,7 +34,7 @@
Compact encoding::
>>> import json
- >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
+ >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',', ':'))
'[1,2,3,{"4":5,"6":7}]'
Pretty printing::
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -31,7 +31,7 @@
Compact encoding::
>>> import json
- >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
+ >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',', ':'))
'[1,2,3,{"4":5,"6":7}]'
Pretty printing::
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list