Add __repr__ to _NotSetType

We don't want "<github.GithubObject._NotSetType instance at 0x00000000037B1A48>"
in our generated documentation.
This commit is contained in:
Vincent Jacques
2012-09-13 23:02:55 +02:00
parent 6fca851f7a
commit 9d6e22ce16
+2 -1
View File
@@ -16,7 +16,8 @@ import datetime
import GithubException
class _NotSetType:
pass
def __repr__( self ):
return "NotSet"
NotSet = _NotSetType()
class BasicGithubObject( object ):