File tree 7 files changed +8
-8
lines changed
7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
34
34
from pandas .core .dtypes .base import (
35
35
ExtensionDtype ,
36
- registry ,
36
+ _registry as registry ,
37
37
)
38
38
from pandas .core .dtypes .cast import (
39
39
construct_1d_arraylike_from_scalar ,
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ def register_extension_dtype(cls: Type[ExtensionDtype]) -> Type[ExtensionDtype]:
388
388
... class MyExtensionDtype(ExtensionDtype):
389
389
... name = "myextension"
390
390
"""
391
- registry .register (cls )
391
+ _registry .register (cls )
392
392
return cls
393
393
394
394
@@ -452,4 +452,4 @@ def find(
452
452
return None
453
453
454
454
455
- registry = Registry ()
455
+ _registry = Registry ()
Original file line number Diff line number Diff line change 23
23
Optional ,
24
24
)
25
25
26
- from pandas .core .dtypes .base import registry
26
+ from pandas .core .dtypes .base import _registry as registry
27
27
from pandas .core .dtypes .dtypes import (
28
28
CategoricalDtype ,
29
29
DatetimeTZDtype ,
Original file line number Diff line number Diff line change 5
5
import pytest
6
6
import pytz
7
7
8
- from pandas .core .dtypes .base import registry
8
+ from pandas .core .dtypes .base import _registry as registry
9
9
10
10
import pandas as pd
11
11
import pandas ._testing as tm
Original file line number Diff line number Diff line change 4
4
from pandas ._libs .tslibs import iNaT
5
5
from pandas ._libs .tslibs .period import IncompatibleFrequency
6
6
7
- from pandas .core .dtypes .base import registry
7
+ from pandas .core .dtypes .base import _registry as registry
8
8
from pandas .core .dtypes .dtypes import PeriodDtype
9
9
10
10
import pandas as pd
Original file line number Diff line number Diff line change 4
4
import pytest
5
5
import pytz
6
6
7
- from pandas .core .dtypes .base import registry
7
+ from pandas .core .dtypes .base import _registry as registry
8
8
from pandas .core .dtypes .common import (
9
9
is_bool_dtype ,
10
10
is_categorical ,
Original file line number Diff line number Diff line change 5
5
6
6
import pandas .util ._test_decorators as td
7
7
8
- from pandas .core .dtypes .base import registry as ea_registry
8
+ from pandas .core .dtypes .base import _registry as ea_registry
9
9
from pandas .core .dtypes .common import (
10
10
is_categorical_dtype ,
11
11
is_interval_dtype ,
You can’t perform that action at this time.
0 commit comments