summaryrefslogtreecommitdiffstats
path: root/Lib/collections
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-09-06 01:13:07 (GMT)
committerGitHub <noreply@github.com>2017-09-06 01:13:07 (GMT)
commit3b9d4444fe631117430dee8ef8a2f205b4b450d5 (patch)
tree36b97e8a6782bc8ec9b91df91b92c746783826e5 /Lib/collections
parentc506403faf8dbfc8baf4212e8e2aedb7268acb5e (diff)
downloadcpython-3b9d4444fe631117430dee8ef8a2f205b4b450d5.zip
cpython-3b9d4444fe631117430dee8ef8a2f205b4b450d5.tar.gz
cpython-3b9d4444fe631117430dee8ef8a2f205b4b450d5.tar.bz2
[3.6] bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (GH-2179) (GH-3370)
* fixed OrderedDict.__init__ docstring re PEP 468 * tightened comment and mirrored to C impl * added space after period per marco-buttu * preserved substituted for stable * drop references to Python 3.6 and PEP 468 (cherry picked from commit faa57cbe7074b26807cd7ed89a7b173b5cbf3086)
Diffstat (limited to 'Lib/collections')
-rw-r--r--Lib/collections/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 85b4c3c..1d6822a 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -85,9 +85,7 @@ class OrderedDict(dict):
def __init__(*args, **kwds):
'''Initialize an ordered dictionary. The signature is the same as
- regular dictionaries, but keyword arguments are not recommended because
- their insertion order is arbitrary.
-
+ regular dictionaries. Keyword argument order is preserved.
'''
if not args:
raise TypeError("descriptor '__init__' of 'OrderedDict' object "