We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee5edaf commit 0740450Copy full SHA for 0740450
parso/python/tree.py
@@ -295,6 +295,8 @@ class FStringEnd(PythonLeaf):
295
296
297
class _StringComparisonMixin:
298
+ __slots__ = ()
299
+
300
def __eq__(self, other):
301
"""
302
Make comparisons with strings easy.
@@ -544,6 +546,7 @@ class Function(ClassOrFunc):
544
546
4. annotation (if present)
545
547
548
type = 'funcdef'
549
550
551
def __init__(self, children):
552
super().__init__(children)
0 commit comments