diff options
author | 2012-04-03 23:16:49 +0200 | |
---|---|---|
committer | 2012-04-03 23:17:15 +0200 | |
commit | 1abcce9551c83f3ad00303a8d4ef555c9c62f8a4 (patch) | |
tree | 67a2b7a5a68d13ca61965de897900ecc4dd0fa9f /pygithub3/github.py | |
parent | services.gists.Comment done (diff) | |
download | python-github3-1abcce9551c83f3ad00303a8d4ef555c9c62f8a4.tar.xz python-github3-1abcce9551c83f3ad00303a8d4ef555c9c62f8a4.zip |
Fix naming
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r-- | pygithub3/github.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py index 1cf9b05..0b302a1 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -2,6 +2,7 @@ # -*- encoding: utf-8 -*- +#TODO: Move the imports out. setup related class Github(object): """ You can preconfigure all services globally with a ``config`` dict. See @@ -14,10 +15,10 @@ class Github(object): def __init__(self, **config): from pygithub3.services.users import User - from pygithub3.services.repos import Repos + from pygithub3.services.repos import Repo from pygithub3.services.gists import Gist self._users = User(**config) - self._repos = Repos(**config) + self._repos = Repo(**config) self._gists = Gist(**config) @property @@ -29,7 +30,7 @@ class Github(object): @property def users(self): """ - :ref:`User service <User service>` + :ref:`Users service <Users service>` """ return self._users @@ -43,6 +44,6 @@ class Github(object): @property def gists(self): """ - :ref:`Gist service <Gist service>` + :ref:`Gists service <Gists service>` """ return self._gists |