]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
use slots for lexer lstrip marker
authorDavid Lord <davidism@gmail.com>
Mon, 7 Oct 2019 17:11:00 +0000 (10:11 -0700)
committerDavid Lord <davidism@gmail.com>
Mon, 7 Oct 2019 17:11:00 +0000 (10:11 -0700)
jinja2/lexer.py

index 0aea1c35804b0b497d02468a7df4e59e0aed24bb..f7545a3c7f77751719dc4e8c919522c02167474f 100644 (file)
@@ -426,6 +426,8 @@ class OptionalLStrip(tuple):
     lstrip applied.
     """
 
+    __slots__ = ()
+
     # Even though it looks like a no-op, creating instances fails
     # without this.
     def __new__(cls, *members, **kwargs):