summaryrefslogtreecommitdiff
path: root/sphinx/util
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2020-07-14 19:48:07 +0200
committerJakob Lykke Andersen <Jakob@caput.dk>2020-07-14 22:16:55 +0200
commit786392a14fce8fc86b0ff0aed9cd362ae33c855b (patch)
tree770909a902b0ab96f5b881ff7feb04460763396a /sphinx/util
parent236b089ad1ea7595e4c3087589e902cce699b980 (diff)
downloadsphinx-git-786392a14fce8fc86b0ff0aed9cd362ae33c855b.tar.gz
C, don't deepcopy as deep on handling enumerators
Diffstat (limited to 'sphinx/util')
-rw-r--r--sphinx/util/cfamily.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/util/cfamily.py b/sphinx/util/cfamily.py
index edccf96a7..a1c4bad2d 100644
--- a/sphinx/util/cfamily.py
+++ b/sphinx/util/cfamily.py
@@ -110,7 +110,6 @@ class ASTBaseBase:
__hash__ = None # type: Callable[[], int]
def clone(self) -> Any:
- """Clone a definition expression node."""
return deepcopy(self)
def _stringify(self, transform: StringifyTransform) -> str: