aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py3/twisted/web/_stan.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-11-12 07:54:50 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-11-12 08:05:59 +0300
commit55cec9f6b0618fb3570fc8ef66aad151f4932591 (patch)
tree9198c2ca0b0305269062c3674ce79f19c4990e65 /contrib/python/Twisted/py3/twisted/web/_stan.py
parentb77b1fbf262ea4f40e33a60ce32c4db4e5e49015 (diff)
downloadydb-55cec9f6b0618fb3570fc8ef66aad151f4932591.tar.gz
Intermediate changes
commit_hash:c229701a8b4f4d9ee57ce1ed763099d862d53fa6
Diffstat (limited to 'contrib/python/Twisted/py3/twisted/web/_stan.py')
-rw-r--r--contrib/python/Twisted/py3/twisted/web/_stan.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/python/Twisted/py3/twisted/web/_stan.py b/contrib/python/Twisted/py3/twisted/web/_stan.py
index 88e82d2dfe..b165bdb6fd 100644
--- a/contrib/python/Twisted/py3/twisted/web/_stan.py
+++ b/contrib/python/Twisted/py3/twisted/web/_stan.py
@@ -32,7 +32,7 @@ if TYPE_CHECKING:
from twisted.web.template import Flattenable
-@attr.s(hash=False, eq=False, auto_attribs=True)
+@attr.s(unsafe_hash=False, eq=False, auto_attribs=True)
class slot:
"""
Marker for markup insertion in a template.
@@ -82,7 +82,7 @@ class slot:
"""
-@attr.s(hash=False, eq=False, repr=False, auto_attribs=True)
+@attr.s(unsafe_hash=False, eq=False, repr=False, auto_attribs=True)
class Tag:
"""
A L{Tag} represents an XML tags with a tag name, attributes, and children.
@@ -314,7 +314,7 @@ voidElements = (
)
-@attr.s(hash=False, eq=False, repr=False, auto_attribs=True)
+@attr.s(unsafe_hash=False, eq=False, repr=False, auto_attribs=True)
class CDATA:
"""
A C{<![CDATA[]]>} block from a template. Given a separate representation in
@@ -329,7 +329,7 @@ class CDATA:
return f"CDATA({self.data!r})"
-@attr.s(hash=False, eq=False, repr=False, auto_attribs=True)
+@attr.s(unsafe_hash=False, eq=False, repr=False, auto_attribs=True)
class Comment:
"""
A C{<!-- -->} comment from a template. Given a separate representation in
@@ -344,7 +344,7 @@ class Comment:
return f"Comment({self.data!r})"
-@attr.s(hash=False, eq=False, repr=False, auto_attribs=True)
+@attr.s(unsafe_hash=False, eq=False, repr=False, auto_attribs=True)
class CharRef:
"""
A numeric character reference. Given a separate representation in the DOM