summaryrefslogtreecommitdiff
path: root/git/objects/util.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-05-08 07:15:57 +0800
committerGitHub <noreply@github.com>2022-05-08 07:15:57 +0800
commitb30720ee4d9762a03eae4fa7cfa4b0190d81784d (patch)
treee4db57c467db566901d53881012f1ccfe3ca9d4a /git/objects/util.py
parentb3166ece31bfb29e89f6ed4bb9214bf1c03791df (diff)
parentdde3a8bd9229ff25ec8bc03c35d937f43233f48e (diff)
downloadgitpython-b30720ee4d9762a03eae4fa7cfa4b0190d81784d.tar.gz
Merge pull request #1438 from luzpaz/typos
Fix various typos
Diffstat (limited to 'git/objects/util.py')
-rw-r--r--git/objects/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/objects/util.py b/git/objects/util.py
index 187318fe..800eccdf 100644
--- a/git/objects/util.py
+++ b/git/objects/util.py
@@ -37,7 +37,7 @@ if TYPE_CHECKING:
from .submodule.base import Submodule
from git.types import Protocol, runtime_checkable
else:
- # Protocol = Generic[_T] # NNeeded for typing bug #572?
+ # Protocol = Generic[_T] # Needed for typing bug #572?
Protocol = ABC
def runtime_checkable(f):
@@ -359,7 +359,7 @@ class Traversable(Protocol):
out: IterableList[Union['Commit', 'Submodule', 'Tree', 'Blob']] = IterableList(id)
out.extend(self.traverse(as_edge=as_edge, *args, **kwargs))
return out
- # overloads in subclasses (mypy does't allow typing self: subclass)
+ # overloads in subclasses (mypy doesn't allow typing self: subclass)
# Union[IterableList['Commit'], IterableList['Submodule'], IterableList[Union['Submodule', 'Tree', 'Blob']]]
else:
# Raise deprecationwarning, doesn't make sense to use this