8000 Update a few broken links to Github docs · goodwillcoding/github3.py@5873744 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5873744

Browse files
committed
Update a few broken links to Github docs
Github changed their URLs at some point. I can't guarantee this is everything, but it should at least cover the URLs related to Events
1 parent 338e65d commit 5873744

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Having individual handlers as we have now which modify the payload to use our
3434
objects when available is more sensible.
3535

3636
.. links
37-
.. _type: http://developer.github.com/v3/events/types
37+
.. _type: https://developer.github.com/v3/activity/events/types

github3/events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class Event(GitHubCore):
1515

1616
"""The :class:`Event <Event>` object. It structures and handles the data
17-
returned by via the `Events <http://developer.github.com/v3/events>`_
17+
returned by via the `Events <https://developer.github.com/v3/activity/events>`_
1818
section of the GitHub API.
1919
2020
Two events can be compared like so::
@@ -42,7 +42,7 @@ def _update_attributes(self, event):
4242
self.org = None
4343
if event.get('org'):
4444
self.org = Organization(event.get('org'))
45-
#: Event type http://developer.github.com/v3/activity/events/types/
45+
#: Event type https://developer.github.com/v3/activity/events/types/
4646
self.type = event.get('type')
4747
handler = _payload_handlers.get(self.type, identity)
4848
#: Dictionary with the payload. Payload structure is defined by type_.

0 commit comments

Comments
 (0)
0