Skip to content

Commit d968f62

Browse files
committed
Remove superfluous parentheses.
1 parent 46c6127 commit d968f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ def _get_toplevel_name(name: PackagePath) -> str:
11081108
# Defer import of inspect for performance (python/cpython#118761)
11091109
import inspect
11101110

1111-
return _topmost(name) or (inspect.getmodulename(name) or str(name))
1111+
return _topmost(name) or inspect.getmodulename(name) or str(name)
11121112

11131113

11141114
def _top_level_inferred(dist):

0 commit comments

Comments
 (0)