Python jinja2._compat.intern() Examples

The following are 17 code examples of jinja2._compat.intern(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module jinja2._compat , or try the search function .
Example #1
Source File: lexer.py    From Building-Recommendation-Systems-with-Python with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #2
Source File: lexer.py    From android_universal with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #3
Source File: lexer.py    From Carnets with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #4
Source File: lexer.py    From EDCOP with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #5
Source File: lexer.py    From odoo13-x64 with GNU General Public License v3.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #6
Source File: lexer.py    From PhonePi_SampleServer with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #7
Source File: lexer.py    From planespotter with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #8
Source File: lexer.py    From cadquery-freecad-module with GNU Lesser General Public License v3.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #9
Source File: lexer.py    From scylla with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #10
Source File: lexer.py    From misp42splunk with GNU Lesser General Public License v3.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #11
Source File: lexer.py    From Building-Recommendation-Systems-with-Python with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #12
Source File: lexer.py    From pySINDy with MIT License 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #13
Source File: lexer.py    From OpenXR-SDK-Source with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #14
Source File: lexer.py    From RSSNewsGAE with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #15
Source File: lexer.py    From recruit with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #16
Source File: lexer.py    From recruit with Apache License 2.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value)) 
Example #17
Source File: lexer.py    From misp42splunk with GNU Lesser General Public License v3.0 5 votes vote down vote up
def __new__(cls, lineno, type, value):
        return tuple.__new__(cls, (lineno, intern(str(type)), value))