From 0ccf0b58f6fbba677a0b06e4e68f0807379da4b7 2024-12-10 14:46:48 From: M Bussonnier Date: 2024-12-10 14:46:48 Subject: [PATCH] Remove IPython/utils/signatures.py deprecated since IPython 6 --- diff --git a/IPython/utils/signatures.py b/IPython/utils/signatures.py deleted file mode 100644 index 88d72b1..0000000 --- a/IPython/utils/signatures.py +++ /dev/null @@ -1,12 +0,0 @@ -"""DEPRECATED: Function signature objects for callables. - -Use the standard library version if available, as it is more up to date. -Fallback on backport otherwise. -""" - -import warnings -warnings.warn("{} backport for Python 2 is deprecated in IPython 6, which only supports " - "Python 3. Import directly from standard library `inspect`".format(__name__), - DeprecationWarning, stacklevel=2) - -from inspect import BoundArguments, Parameter, Signature, signature