diff options
| author | ivasenkov15 <[email protected]> | 2024-01-23 12:12:09 +0300 |
|---|---|---|
| committer | Alexander Smirnov <[email protected]> | 2024-01-24 15:02:04 +0300 |
| commit | fdca1b46d97eaacd40fb002b285099c64be3752c (patch) | |
| tree | deb2fc1ce5b95954b06283783e6d4504bee84bf2 /contrib/python/ipython/py3/IPython/utils/text.py | |
| parent | 8e1ef6e552adde4b26cda116a183d3889112d238 (diff) | |
fix bank-applications: remove bank-forms usage
Diffstat (limited to 'contrib/python/ipython/py3/IPython/utils/text.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/utils/text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/ipython/py3/IPython/utils/text.py b/contrib/python/ipython/py3/IPython/utils/text.py index 9b653dcee06..8f73dca28a0 100644 --- a/contrib/python/ipython/py3/IPython/utils/text.py +++ b/contrib/python/ipython/py3/IPython/utils/text.py @@ -17,7 +17,7 @@ import warnings from string import Formatter from pathlib import Path -from typing import List, Union, Optional, Dict, Tuple +from typing import List, Dict, Tuple class LSString(str): @@ -357,7 +357,7 @@ def format_screen(strng): return strng -def dedent(text): +def dedent(text: str) -> str: """Equivalent of textwrap.dedent that ignores unindented first line. This means it will still dedent strings like: |
