mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
11 lines
358 B
Python
11 lines
358 B
Python
# This allows None as a valid value for an optional parameter
|
|
class DefaultValueForOptionalParametersType:
|
|
pass
|
|
DefaultValueForOptionalParameters = DefaultValueForOptionalParametersType()
|
|
|
|
class GithubException( Exception ):
|
|
def __init__( self, status, data ):
|
|
Exception.__init__( self )
|
|
self.status = status
|
|
self.data = data
|