Skip to content

Commit

Permalink
mypy fix (pandas-dev#29891)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel authored and proost committed Dec 19, 2019
1 parent cc9f925 commit 31b7518
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2641,7 +2641,9 @@ def write(self, **kwargs):
"cannot write on an abstract storer: sublcasses should implement"
)

def delete(self, where=None, start=None, stop=None, **kwargs):
def delete(
self, where=None, start: Optional[int] = None, stop: Optional[int] = None
):
"""
support fully deleting the node in its entirety (only) - where
specification must be None
Expand Down

0 comments on commit 31b7518

Please sign in to comment.