X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/e99a58f80352633969a8516d82ea6459eca90f4c..4319f063df3b6758b450d3c9ae76d149f3d64880:/twitter/__init__.py diff --git a/twitter/__init__.py b/twitter/__init__.py index 11bbdc5..326c8f2 100644 --- a/twitter/__init__.py +++ b/twitter/__init__.py @@ -16,26 +16,26 @@ from .oauth2 import OAuth2 from .stream import TwitterStream from .oauth_dance import oauth_dance -# Who needs Sphinx? Not me! +__doc__ = __doc__ or "" __doc__ += """ The Twitter class ----------------- """ -__doc__ += dedent(Twitter.__doc__) +__doc__ += dedent(Twitter.__doc__ or "") __doc__ += """ The TwitterStream class ----------------------- """ -__doc__ += dedent(TwitterStream.__doc__) +__doc__ += dedent(TwitterStream.__doc__ or "") __doc__ += """ Twitter Response Objects ------------------------ """ -__doc__ += dedent(TwitterResponse.__doc__) +__doc__ += dedent(TwitterResponse.__doc__ or "") __doc__ += """ @@ -52,7 +52,7 @@ Working with OAuth ------------------ """ -__doc__ += dedent(oauth_doc) +__doc__ += dedent(oauth_doc or "") __all__ = ["Twitter", "TwitterStream", "TwitterResponse", "TwitterError", "TwitterHTTPError", "NoAuth", "OAuth", "UserPassAuth",