Skip to content

Commit

Permalink
Improve doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoV committed Jan 19, 2024
1 parent 0cef393 commit e480cd5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -3126,7 +3126,7 @@ _PyDict_MergeEx(PyObject *a, PyObject *b, int override)
/*[clinic input]
dict.copy
D.copy() -> a shallow copy of D
Returns a shallow copy of D.
[clinic start generated code]*/

static PyObject *
Expand Down Expand Up @@ -3508,7 +3508,7 @@ dict_setdefault_impl(PyDictObject *self, PyObject *key,
/*[clinic input]
dict.clear
D.clear() -> None. Remove all items from D.
Removes all items.
[clinic start generated code]*/

static PyObject *
Expand Down Expand Up @@ -3706,7 +3706,7 @@ _PyDict_KeysSize(PyDictKeysObject *keys)
/*[clinic input]
dict.__sizeof__
D.__sizeof__() -> size of D in memory, in bytes
Returns size of D in memory, in bytes.
[clinic start generated code]*/

static PyObject *
Expand Down Expand Up @@ -5247,7 +5247,7 @@ PyTypeObject PyDictKeys_Type = {
/*[clinic input]
dict.keys
D.keys() -> a set-like object providing a view on D's keys
Returns a set-like object providing a view on D's keys.
[clinic start generated code]*/

static PyObject *
Expand Down Expand Up @@ -5359,7 +5359,7 @@ PyTypeObject PyDictItems_Type = {
/*[clinic input]
dict.items
D.items() -> a set-like object providing a view on D's items
Returns a set-like object providing a view on D's items.
[clinic start generated code]*/

static PyObject *
Expand Down Expand Up @@ -5449,7 +5449,7 @@ PyTypeObject PyDictValues_Type = {
/*[clinic input]
dict.values
D.values() -> an object providing a view on D's values
Returns an object providing a view on D's values.
[clinic start generated code]*/

static PyObject *
Expand Down

0 comments on commit e480cd5

Please sign in to comment.