From 41d4cef6a4efbea6ce9a3998a131d594609ed0fe Mon Sep 17 00:00:00 2001 From: tv3141 Date: Tue, 31 Mar 2020 23:31:52 +0100 Subject: [PATCH] Correct docstring to describe actual functionality. --- pandas/_libs/tslibs/offsets.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index a66c9cd86d00c..306636278bcbe 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -462,7 +462,7 @@ class _BaseOffset: def _validate_n(self, n): """ - Require that `n` be a nonzero integer. + Require that `n` be an integer. Parameters ----------