Skip to content

Commit 8197e90

Browse files
committed
Remove now-unused import in top-level __init__.py
The inspect module was only used to dynamically generate __all__, which is statically written since c862845. Although it includes everything it originally had for compatibility (8edc53b), this did not include modules, since the comprehension used to generate it omitted those (which is what it needed the inspect module for). So it was not, and is not, listed in __all__, and can be removed.
1 parent 44102f3 commit 8197e90

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

git/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# flake8: noqa
77
# @PydevCodeAnalysisIgnore
88
from git.exc import * # @NoMove @IgnorePep8
9-
import inspect
109
import os
1110
import sys
1211
import os.path as osp

0 commit comments

Comments
 (0)