@@ -3126,12 +3126,12 @@ _PyDict_MergeEx(PyObject *a, PyObject *b, int override)
3126
3126
/*[clinic input]
3127
3127
dict.copy
3128
3128
3129
- D.copy() -> a shallow copy of D
3129
+ Returns a shallow copy of D.
3130
3130
[clinic start generated code]*/
3131
3131
3132
3132
static PyObject *
3133
3133
dict_copy_impl (PyDictObject * self )
3134
- /*[clinic end generated code: output=ffb782cf970a5c39 input=b96949d603dc505c ]*/
3134
+ /*[clinic end generated code: output=ffb782cf970a5c39 input=6d9903c1b6362e32 ]*/
3135
3135
{
3136
3136
return PyDict_Copy ((PyObject * )self );
3137
3137
}
@@ -3508,12 +3508,12 @@ dict_setdefault_impl(PyDictObject *self, PyObject *key,
3508
3508
/*[clinic input]
3509
3509
dict.clear
3510
3510
3511
- D.clear() -> None. Remove all items from D .
3511
+ Removes all items.
3512
3512
[clinic start generated code]*/
3513
3513
3514
3514
static PyObject *
3515
3515
dict_clear_impl (PyDictObject * self )
3516
- /*[clinic end generated code: output=5139a830df00830a input=31e16ad16e56f4dc ]*/
3516
+ /*[clinic end generated code: output=5139a830df00830a input=1824e4e555dfaf79 ]*/
3517
3517
{
3518
3518
PyDict_Clear ((PyObject * )self );
3519
3519
Py_RETURN_NONE ;
@@ -3706,12 +3706,12 @@ _PyDict_KeysSize(PyDictKeysObject *keys)
3706
3706
/*[clinic input]
3707
3707
dict.__sizeof__
3708
3708
3709
- D.__sizeof__() -> size of D in memory, in bytes
3709
+ Returns size of D in memory, in bytes.
3710
3710
[clinic start generated code]*/
3711
3711
3712
3712
static PyObject *
3713
3713
dict___sizeof___impl (PyDictObject * self )
3714
- /*[clinic end generated code: output=44279379b3824bda input=bcde0197a346f7ce ]*/
3714
+ /*[clinic end generated code: output=44279379b3824bda input=33b3550475672efd ]*/
3715
3715
{
3716
3716
return PyLong_FromSsize_t (_PyDict_SizeOf (self ));
3717
3717
}
@@ -5247,12 +5247,12 @@ PyTypeObject PyDictKeys_Type = {
5247
5247
/*[clinic input]
5248
5248
dict.keys
5249
5249
5250
- D.keys() -> a set-like object providing a view on D's keys
5250
+ Returns a set-like object providing a view on D's keys.
5251
5251
[clinic start generated code]*/
5252
5252
5253
5253
static PyObject *
5254
5254
dict_keys_impl (PyDictObject * self )
5255
- /*[clinic end generated code: output=aac2830c62990358 input=4a20806094eaaed1 ]*/
5255
+ /*[clinic end generated code: output=aac2830c62990358 input=26448b0710052252 ]*/
5256
5256
{
5257
5257
return _PyDictView_New ((PyObject * )self , & PyDictKeys_Type );
5258
5258
}
@@ -5359,12 +5359,12 @@ PyTypeObject PyDictItems_Type = {
5359
5359
/*[clinic input]
5360
5360
dict.items
5361
5361
5362
- D.items() -> a set-like object providing a view on D's items
5362
+ Returns a set-like object providing a view on D's items.
5363
5363
[clinic start generated code]*/
5364
5364
5365
5365
static PyObject *
5366
5366
dict_items_impl (PyDictObject * self )
5367
- /*[clinic end generated code: output=88c7db7150c7909a input=7c47bcbd09b31e59 ]*/
5367
+ /*[clinic end generated code: output=88c7db7150c7909a input=21ee5e4c8ead76c4 ]*/
5368
5368
{
5369
5369
return _PyDictView_New ((PyObject * )self , & PyDictItems_Type );
5370
5370
}
@@ -5449,12 +5449,12 @@ PyTypeObject PyDictValues_Type = {
5449
5449
/*[clinic input]
5450
5450
dict.values
5451
5451
5452
- D.values() -> an object providing a view on D's values
5452
+ Returns an object providing a view on D's values.
5453
5453
[clinic start generated code]*/
5454
5454
5455
5455
static PyObject *
5456
5456
dict_values_impl (PyDictObject * self )
5457
- /*[clinic end generated code: output=ce9f2e9e8a959dd4 input=004353e8ab5d1aa9 ]*/
5457
+ /*[clinic end generated code: output=ce9f2e9e8a959dd4 input=53354b69fc077e0d ]*/
5458
5458
{
5459
5459
return _PyDictView_New ((PyObject * )self , & PyDictValues_Type );
5460
5460
}
0 commit comments