Skip to content

Commit

Permalink
Merge pull request #91 from bswck/use-functools-identity
Browse files Browse the repository at this point in the history
Use `jaraco.functools.identity`
  • Loading branch information
jaraco committed Dec 18, 2023
2 parents f5c50a4 + df9ef3b commit 491c6f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pip_run/_py38compat.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import sys
import platform
from jaraco.functools import identity

subprocess_path = (
str if sys.version_info < (3, 9) and platform.system() == 'Windows' else lambda x: x
str if sys.version_info < (3, 9) and platform.system() == 'Windows' else identity
)


Expand Down

0 comments on commit 491c6f9

Please sign in to comment.