Skip to content

Commit 97b74a0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1f3299c commit 97b74a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ipyparallel/serialize/codeutil.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ def code_ctor(*args):
2929
# pass every supported arg to the code constructor
3030
# this should be more forward-compatible
3131
# (broken on pypy: https://github.com/ipython/ipyparallel/issues/845)
32-
if sys.version_info >= (3, 10) and getattr(sys, "pypy_version_info", (7, 3, 19)) >= (7, 3, 19):
32+
if sys.version_info >= (3, 10) and getattr(sys, "pypy_version_info", (7, 3, 19)) >= (
33+
7,
34+
3,
35+
19,
36+
):
3337
_code_attr_names = tuple(
3438
_code_attr_map.get(name, name)
3539
for name, param in inspect.signature(types.CodeType).parameters.items()

0 commit comments

Comments
 (0)