Skip to content

Commit 26c6a45

Browse files
committed
Remove redundant .keys() call
1 parent 8d15e3b commit 26c6a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/req/req_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def _parse_and_recurse(
364364
req_path,
365365
)
366366
)
367-
if req_path in self._parsed_files.keys():
367+
if req_path in self._parsed_files:
368368
initial_file = self._parsed_files[req_path]
369369
tail = (
370370
f" and again in {initial_file}"

0 commit comments

Comments
 (0)