summaryrefslogtreecommitdiff
path: root/timestamp.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-06-09 15:29:00 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-06-09 15:29:00 +0200
commit5a5b603289bfd9b9e1bcd57618cf8694bd0ec2aa (patch)
tree3244f3c128fbb54bfc57e06f309a3ea333a62938 /timestamp.py
parent148949be5260969391a5b993cbb3fb602bed55a6 (diff)
downloadruamel.yaml-5a5b603289bfd9b9e1bcd57618cf8694bd0ec2aa.tar.gz
fix for issue 3870.17.8
tagged objects that have a templated (idNNN) anchor, did get the anchor added explicitly, resulting potentially in double anchors
Diffstat (limited to 'timestamp.py')
-rw-r--r--timestamp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/timestamp.py b/timestamp.py
index e338c30..58eef04 100644
--- a/timestamp.py
+++ b/timestamp.py
@@ -17,7 +17,7 @@ class TimeStamp(datetime.datetime):
def __new__(cls, *args, **kw): # datetime is immutable
# type: (Any, Any) -> Any
- return datetime.datetime.__new__(cls, *args, **kw) # type: ignore
+ return datetime.datetime.__new__(cls, *args, **kw)
def __deepcopy__(self, memo):
# type: (Any) -> Any