From e0e3e1717e3d33762ce61950504f9637a6e669ed Mon Sep 17 00:00:00 2001
From: nkozlovskiy <nmk@ydb.tech>
Date: Fri, 29 Sep 2023 12:24:06 +0300
Subject: add ydb deps

---
 contrib/python/ipython/py3/IPython/utils/signatures.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 contrib/python/ipython/py3/IPython/utils/signatures.py

(limited to 'contrib/python/ipython/py3/IPython/utils/signatures.py')

diff --git a/contrib/python/ipython/py3/IPython/utils/signatures.py b/contrib/python/ipython/py3/IPython/utils/signatures.py
new file mode 100644
index 0000000000..88d72b185e
--- /dev/null
+++ b/contrib/python/ipython/py3/IPython/utils/signatures.py
@@ -0,0 +1,12 @@
+"""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
-- 
cgit v1.2.3