From b2ee5edfc78dc9a038c9b507ba5f9cb9dff372e8 Mon Sep 17 00:00:00 2001 From: Martin Winkel Date: Mon, 25 Nov 2019 23:33:55 +0100 Subject: [PATCH] added type annotation of second argument --- pandas/core/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 75721dbc54b81..46a65a3bc7000 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -168,8 +168,8 @@ class Series(base.IndexOpsMixin, generic.NDFrame): base.IndexOpsMixin.hasnans.func, doc=base.IndexOpsMixin.hasnans.__doc__ ) _data: SingleBlockManager - div: Callable[["Series"], "Series"] - rdiv: Callable[["Series"], "Series"] + div: Callable[["Series", Any], "Series"] + rdiv: Callable[["Series", Any], "Series"] # ---------------------------------------------------------------------- # Constructors