Did I find the right examples for you? yes no

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)

src/c/h/Chameleon-2.15/src/chameleon/compiler.py   Chameleon(Download)
from .utils import byte_string
from .utils import string_type
from .utils import unicode_string
from .utils import version
from .utils import ast

src/c/h/chameleon-HEAD/src/chameleon/compiler.py   chameleon(Download)
from .utils import byte_string
from .utils import string_type
from .utils import unicode_string
from .utils import version
from .utils import ast

src/c/h/Chameleon-2.15/src/chameleon/i18n.py   Chameleon(Download)
 
from .exc import CompilationError
from .utils import unicode_string
 
NAME_RE = r"[a-zA-Z][-a-zA-Z0-9_]*"
        def replace(match):
            whole, param1, param2 = match.groups()
            return unicode_string(mapping.get(param1 or param2, whole))
        return _interp_regex.sub(replace, default)
 

src/c/h/chameleon-HEAD/src/chameleon/i18n.py   chameleon(Download)
 
from .exc import CompilationError
from .utils import unicode_string
 
NAME_RE = r"[a-zA-Z][-a-zA-Z0-9_]*"
        def replace(match):
            whole, param1, param2 = match.groups()
            return unicode_string(mapping.get(param1 or param2, whole))
        return _interp_regex.sub(replace, default)