Skip to content

Commit d002911

Browse files
TYP: remove ignores from BlockManager.__cinit__ (#42398)
1 parent 6ec372e commit d002911

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pandas/_libs/internals.pyx

+2-6
Original file line numberDiff line numberDiff line change
@@ -585,12 +585,8 @@ cdef class BlockManager:
585585
# Populate known_consolidate, blknos, and blklocs lazily
586586
self._known_consolidated = False
587587
self._is_consolidated = False
588-
# error: Incompatible types in assignment (expression has type "None",
589-
# variable has type "ndarray")
590-
self._blknos = None # type: ignore[assignment]
591-
# error: Incompatible types in assignment (expression has type "None",
592-
# variable has type "ndarray")
593-
self._blklocs = None # type: ignore[assignment]
588+
self._blknos = None
589+
self._blklocs = None
594590

595591
# -------------------------------------------------------------------
596592
# Pickle

0 commit comments

Comments
 (0)