summaryrefslogtreecommitdiff
path: root/Objects/odictobject.c
diff options
context:
space:
mode:
authorJonathan Eunice <jonathan.eunice@gmail.com>2017-09-05 19:23:49 -0400
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2017-09-05 16:23:49 -0700
commitfaa57cbe7074b26807cd7ed89a7b173b5cbf3086 (patch)
tree6cf355d13dcdd9fa0da98e29e7254e06845315f5 /Objects/odictobject.c
parentaf46eb8d5f23c6f4e69a6a1f579fac8c2250b7c2 (diff)
downloadcpython-git-faa57cbe7074b26807cd7ed89a7b173b5cbf3086.tar.gz
bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (#2179)
* 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
Diffstat (limited to 'Objects/odictobject.c')
-rw-r--r--Objects/odictobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index c3d1a09584..e1ee53beae 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\
");