mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Add __repr__ to _NotSetType
We don't want "<github.GithubObject._NotSetType instance at 0x00000000037B1A48>" in our generated documentation.
This commit is contained in:
@@ -16,7 +16,8 @@ import datetime
|
||||
import GithubException
|
||||
|
||||
class _NotSetType:
|
||||
pass
|
||||
def __repr__( self ):
|
||||
return "NotSet"
|
||||
NotSet = _NotSetType()
|
||||
|
||||
class BasicGithubObject( object ):
|
||||
|
||||
Reference in New Issue
Block a user