@@ -37,7 +37,7 @@ def gist(id_num):
3737 """Get the gist identified by ``id_num``.
3838
3939 :param int id_num: (required), unique id of the gist
40- :returns: :class:`Gist <github3.gist .Gist>`
40+ :returns: :class:`Gist <github3.gists .Gist>`
4141 """
4242 return gh .gist (id_num )
4343
@@ -47,7 +47,7 @@ def list_gists(username=None):
4747
4848 :param str username: (optional), if provided, get the gists for this user
4949 instead of the authenticated user.
50- :returns: list of :class:`Gist <github3.gist .Gist>`\ s
50+ :returns: list of :class:`Gist <github3.gists .Gist>`\ s
5151 """
5252 return gh .list_gists (username )
5353
@@ -99,7 +99,7 @@ def create_gist(description, files):
9999 :param dict files: (required), file names with associated
100100 dictionaries for content, e.g.
101101 {'spam.txt': {'content': 'File contents ...'}}
102- :returns: :class:`Gist <github3.gist .Gist>`
102+ :returns: :class:`Gist <github3.gists .Gist>`
103103 """
104104 return gh .create_gist (description , files ) # (No coverage)
105105
@@ -110,15 +110,15 @@ def issue(owner, repository, number):
110110 :param str owner: (required), repository owner
111111 :param str repository: (required), repository name
112112 :param int number: (required), issue number
113- :returns: :class:`Issue <github3.issue .Issue>`
113+ :returns: :class:`Issue <github3.issues .Issue>`
114114 """
115115 return gh .issue (owner , repository , number )
116116
117117
118118def list_events ():
119119 """List all recent public events from GitHub.
120120
121- :returns: list of :class:`Event <github3.event .Event>`\ s
121+ :returns: list of :class:`Event <github3.events .Event>`\ s
122122 """
123123 return gh .list_events ()
124124
0 commit comments