summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/collections/__init__.py4
-rw-r--r--Objects/odictobject.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 8408255..70cb683 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 "
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index c3d1a09..e1ee53b 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -882,8 +882,7 @@ odict_eq(PyObject *a, PyObject *b)
PyDoc_STRVAR(odict_init__doc__,
"Initialize an ordered dictionary. The signature is the same as\n\
- regular dictionaries, but keyword arguments are not recommended because\n\
- their insertion order is arbitrary.\n\
+ regular dictionaries. Keyword argument order is preserved.\n\
\n\
");