mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Add default parameters to greatly reduce code redoundancy
This commit is contained in:
+1
-4
@@ -199,10 +199,7 @@ class Download(github.GithubObject.CompletableGithubObject):
|
||||
"""
|
||||
headers, data = self._requester.requestJsonAndCheck(
|
||||
"DELETE",
|
||||
self.url,
|
||||
None,
|
||||
None,
|
||||
None
|
||||
self.url
|
||||
)
|
||||
|
||||
def _initAttributes(self):
|
||||
|
||||
Reference in New Issue
Block a user