Skip to content

Commit 873dc27

Browse files
committed
More doc string improvements
1 parent 68a5d6c commit 873dc27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Objects/dictobject.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -3126,7 +3126,7 @@ _PyDict_MergeEx(PyObject *a, PyObject *b, int override)
31263126
/*[clinic input]
31273127
dict.copy
31283128
3129-
Returns a shallow copy of D.
3129+
Returns a shallow copy of the dict.
31303130
[clinic start generated code]*/
31313131

31323132
static PyObject *
@@ -3706,7 +3706,7 @@ _PyDict_KeysSize(PyDictKeysObject *keys)
37063706
/*[clinic input]
37073707
dict.__sizeof__
37083708
3709-
Returns size of D in memory, in bytes.
3709+
Returns size of the dict in memory, in bytes.
37103710
[clinic start generated code]*/
37113711

37123712
static PyObject *
@@ -5247,7 +5247,7 @@ PyTypeObject PyDictKeys_Type = {
52475247
/*[clinic input]
52485248
dict.keys
52495249
5250-
Returns a set-like object providing a view on D's keys.
5250+
Returns a set-like object providing a view on the dict's keys.
52515251
[clinic start generated code]*/
52525252

52535253
static PyObject *
@@ -5449,7 +5449,7 @@ PyTypeObject PyDictValues_Type = {
54495449
/*[clinic input]
54505450
dict.values
54515451
5452-
Returns an object providing a view on D's values.
5452+
Returns an object providing a view on the dict's values.
54535453
[clinic start generated code]*/
54545454

54555455
static PyObject *

0 commit comments

Comments
 (0)