Skip to content

Commit 0eb5bc1

Browse files
committed
typing done right
1 parent 95b7a5c commit 0eb5bc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ def accessor_entry_point_loader() -> None:
472472
"pandas.Index.accessor": register_index_accessor,
473473
}
474474

475-
pd_objects_entrypoints: list[str] = ACCESSOR_REGISTRY_FUNCTIONS.keys()
475+
PD_OBJ_ENTRYPOINTS: tuple[str] = tuple(ACCESSOR_REGISTRY_FUNCTIONS.keys())
476476

477-
for pd_obj_entrypoint in pd_objects_entrypoints:
477+
for pd_obj_entrypoint in PD_OBJ_ENTRYPOINTS:
478478
accessors: EntryPoints = entry_points(group=pd_obj_entrypoint)
479479
accessor_package_dict: dict[str, str] = {}
480480

0 commit comments

Comments
 (0)