Skip to content

Commit 5988f6d

Browse files
authored
Fix a couple typos found by codespell (#4270)
2 parents 882992e + 6efc720 commit 5988f6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg_resources/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3193,7 +3193,7 @@ def _find_adapter(registry, ob):
31933193
for t in types:
31943194
if t in registry:
31953195
return registry[t]
3196-
# _find_adapter would previously return None, and immediatly be called.
3196+
# _find_adapter would previously return None, and immediately be called.
31973197
# So we're raising a TypeError to keep backward compatibility if anyone depended on that behaviour.
31983198
raise TypeError(f"Could not find adapter for {registry} and {ob}")
31993199

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ def _restore_install_lib(self):
8888

8989
if __name__ == '__main__':
9090
# allow setup.py to run from another directory
91-
# TODO: Use a proper conditonal statement here
91+
# TODO: Use a proper conditional statement here
9292
here and os.chdir(here) # type: ignore[func-returns-value]
9393
dist = setuptools.setup(**setup_params)

0 commit comments

Comments
 (0)