Skip to content

Commit 4287019

Browse files
authored
docs: Fix a few typos (#82)
There are small typos in: - github2/client.py - github2/request.py Fixes: - Should read `specific` rather than `specifc`. - Should read `occurred` rather than `occured`.
1 parent 587f415 commit 4287019

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

github2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_blob_info(self, project, tree_sha, path):
107107
return blob.get("blob")
108108

109109
def get_tree(self, project, tree_sha):
110-
"""Get tree information for a specifc tree.
110+
"""Get tree information for a specific tree.
111111
112112
:param str project: GitHub project
113113
:param str tree_sha: object ID of tree

github2/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class GithubError(Exception):
113113

114114
class HttpError(RuntimeError):
115115

116-
"""A HTTP error occured when making a request to the GitHub API."""
116+
"""A HTTP error occurred when making a request to the GitHub API."""
117117

118118
def __init__(self, message, content, code):
119119
"""Create a HttpError exception.

0 commit comments

Comments
 (0)