Use the zero argument form of super() in examples for Python3 docs. (GH-22314)

This commit is contained in:
Andre Delfino 2021-04-26 19:13:54 -03:00 committed by GitHub
parent 425434dadc
commit 52cd6d5e1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -893,7 +893,7 @@ Here's an example implementation:
... def __call__(self, /, *args, **kwargs):
... args = deepcopy(args)
... kwargs = deepcopy(kwargs)
... return super(CopyingMock, self).__call__(*args, **kwargs)
... return super().__call__(*args, **kwargs)
...
>>> c = CopyingMock(return_value=None)
>>> arg = set()