Skip to content

Commit 06e5387

Browse files
committed
Fix import sorting
1 parent f00740c commit 06e5387

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pandas/compat/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
from pandas._typing import F
1717
import pandas.compat._compressors
18+
from pandas.compat._constants import *
1819
from pandas.compat.numpy import (
1920
is_numpy_dev,
2021
np_version_under1p21,
@@ -26,8 +27,6 @@
2627
pa_version_under9p0,
2728
)
2829

29-
from pandas.compat._constants import *
30-
3130

3231
def set_function_name(f: F, name: str, cls) -> F:
3332
"""

pandas/compat/_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
from __future__ import annotations
99

10-
import sys
1110
import platform
11+
import sys
1212

1313
PY39 = sys.version_info >= (3, 9)
1414
PY310 = sys.version_info >= (3, 10)

0 commit comments

Comments
 (0)