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

(cherry picked from commit 52cd6d5e1b)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-04-26 15:16:20 -07:00 committed by GitHub
parent f65f3f0e99
commit c816c1c779
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()