mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Adding unittest.mock documentation
This commit is contained in:
parent
e58a562d93
commit
944e02d055
8 changed files with 3516 additions and 5 deletions
|
@ -1577,11 +1577,9 @@ right = ' '.join('r%s' % n for n in numerics.split())
|
|||
# __del__ is not supported at all as it causes problems if it exists
|
||||
|
||||
_non_defaults = set('__%s__' % method for method in [
|
||||
'cmp', 'getslice', 'setslice', 'coerce', 'subclasses',
|
||||
'format', 'get', 'set', 'delete', 'reversed',
|
||||
'missing', 'reduce', 'reduce_ex', 'getinitargs',
|
||||
'getnewargs', 'getstate', 'setstate', 'getformat',
|
||||
'setformat', 'repr', 'dir'
|
||||
'get', 'set', 'delete', 'reversed', 'missing', 'reduce', 'reduce_ex',
|
||||
'getinitargs', 'getnewargs', 'getstate', 'setstate', 'getformat',
|
||||
'setformat', 'repr', 'dir', 'subclasses', 'format',
|
||||
])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue