From 9d6e22ce165dc9cce00ed7fdeb8570472a6c3937 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Thu, 13 Sep 2012 23:02:55 +0200 Subject: [PATCH] Add __repr__ to _NotSetType We don't want "" in our generated documentation. --- github/GithubObject.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github/GithubObject.py b/github/GithubObject.py index 8622bc8e..0f612cf7 100644 --- a/github/GithubObject.py +++ b/github/GithubObject.py @@ -16,7 +16,8 @@ import datetime import GithubException class _NotSetType: - pass + def __repr__( self ): + return "NotSet" NotSet = _NotSetType() class BasicGithubObject( object ):