From 933dd250fcf0662f1401ab61ddae801dac0d1df3 Mon Sep 17 00:00:00 2001 From: jbrockmendel <jbrockmendel@gmail.com> Date: Wed, 27 Nov 2019 08:49:02 -0800 Subject: [PATCH] mypy fix --- pandas/io/pytables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 69d632479e969..a50d2d1a72155 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -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