Add a temporary script to create docstrings (help for issue #82)

This commit is contained in:
Vincent Jacques
2012-09-13 22:41:08 +02:00
parent df3290644a
commit 040d7b1b00
5 changed files with 177 additions and 9 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ DEFAULT_BASE_URL = "https://api.github.com"
DEFAULT_TIMEOUT = 10
class Github( object ):
def __init__( self, login_or_token = None, password = None, base_url = DEFAULT_BASE_URL, timeout = DEFAULT_TIMEOUT):
def __init__( self, login_or_token = None, password = None, base_url = DEFAULT_BASE_URL, timeout = DEFAULT_TIMEOUT ):
self.__requester = Requester( login_or_token, password, base_url, timeout )
@property
+1 -1
View File
@@ -20,7 +20,7 @@ class _NotSetType:
NotSet = _NotSetType()
class BasicGithubObject( object ):
def __init__( self, requester, attributes, completed ): ### 'completed' may be removed if I find a way
def __init__( self, requester, attributes ):
self._requester = requester
self._initAttributes()
self._useAttributes( attributes )