From 4c83659350328784ecdac963f7bb8b6a5acbf577 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 20 Feb 2018 09:00:59 -0500 Subject: [PATCH] Change '|' to 'or' in docs. --- pandas/util/_decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/util/_decorators.py b/pandas/util/_decorators.py index 2a4996a512b76..1753bc8b8fc33 100644 --- a/pandas/util/_decorators.py +++ b/pandas/util/_decorators.py @@ -65,7 +65,7 @@ def deprecate_kwarg(old_arg_name, new_arg_name, mapping=None, stacklevel=2): ---------- old_arg_name : str Name of argument in function to deprecate - new_arg_name : str | None + new_arg_name : str or None Name of preferred argument in function. Use None to raise warning that ``old_arg_name`` keyword is deprecated. mapping : dict or callable