|
57 | 57 | # Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
|
58 | 58 | # Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.
|
59 | 59 | #
|
60 |
| -# deprecated based on https://github.com/briancurtin/deprecation |
61 |
| -# Modified to only change the docstring of the wrapper and not the original function. |
62 |
| -# | Licensed under the Apache License, Version 2.0 (the "License"); you may |
63 |
| -# | not use this file except in compliance with the License. You may obtain |
64 |
| -# | a copy of the License at |
65 |
| -# | |
66 |
| -# | http://www.apache.org/licenses/LICENSE-2.0 |
67 |
| -# | |
68 |
| -# | Unless required by applicable law or agreed to in writing, software |
69 |
| -# | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
70 |
| -# | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
71 |
| -# | License for the specific language governing permissions and limitations |
72 |
| -# | under the License. |
73 |
| -# |
74 | 60 |
|
75 | 61 | # stdlib
|
76 | 62 | import inspect
|
77 | 63 | import sys
|
78 |
| -import typing |
79 | 64 | from math import log10
|
80 | 65 | from pprint import pformat
|
81 |
| -from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union |
| 66 | +from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Tuple, Union |
82 | 67 |
|
83 | 68 | # 3rd party
|
84 | 69 | from deprecation_alias import deprecated
|
|
88 | 73 | from domdf_python_tools import __version__
|
89 | 74 | from domdf_python_tools.typing import HasHead, String
|
90 | 75 |
|
91 |
| -if typing.TYPE_CHECKING or domdf_python_tools.__docs: # pragma: no cover |
| 76 | +if TYPE_CHECKING or domdf_python_tools.__docs: # pragma: no cover |
92 | 77 | # 3rd party
|
93 | 78 | from pandas import DataFrame, Series # type: ignore
|
94 | 79 |
|
|
0 commit comments