From be24653352b8e17b8b9e3589e33277dd18f2108d 2024-12-10 14:56:55 From: M Bussonnier Date: 2024-12-10 14:56:55 Subject: [PATCH] Remove IPython/utils/signatures.py deprecated since IPython 6 (#14609) --- 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