Skip to content

Commit 29b75ab

Browse files
author
Alyssa Whitwell
committed
Change signature to be imported from inspect library
1 parent a086805 commit 29b75ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/lib/pretty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ def _repr_pretty_(self, p, cycle):
8585
import sys
8686
import types
8787
from collections import deque
88+
from inspect import signature
8889
from io import StringIO
8990
from warnings import warn
9091

9192
from IPython.utils.decorators import undoc
9293
from IPython.utils.py3compat import PYPY
93-
from IPython.utils.signatures import signature
9494

9595
__all__ = ['pretty', 'pprint', 'PrettyPrinter', 'RepresentationPrinter',
9696
'for_type', 'for_type_by_name']

0 commit comments

Comments
 (0)