Files
PyGithub/src/github/GithubObject.py
T

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