Switch to no argument super() (#1361)

Now that Python 2 support is gone, we can switch to no argument super()
rather than calling our superclass by name.
This commit is contained in:
Steve Kowalik
2020-01-21 21:15:22 +11:00
committed by GitHub
parent 06a300aee0
commit 37122cf2bb
74 changed files with 75 additions and 75 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class SourceImport(github.GithubObject.CompletableGithubObject):
def update(self):
import_header = {"Accept": Consts.mediaTypeImportPreview}
return super(SourceImport, self).update(additional_headers=import_header)
return super().update(additional_headers=import_header)
def _initAttributes(self):
self._authors_count = github.GithubObject.NotSet