Home | History | Annotate | Download | only in jinja2

Lines Matching full:none

41 _make_traceback = None
53 if env is not None:
63 return None
71 if cache is None:
72 return None
179 `None` implicitly into an empty string here.
228 linked_to = None
235 exception_handler = None
236 exception_formatter = None
254 finalize=None,
256 loader=None,
259 bytecode_cache=None):
405 def call_filter(self, name, value, args=None, kwargs=None,
406 context=None, eval_ctx=None):
412 if func is None:
416 if context is None:
421 if eval_ctx is None:
422 if context is not None:
431 def call_test(self, name, value, args=None, kwargs=None):
437 if func is None:
442 def parse(self, source, name=None, filename=None):
461 def lex(self, source, name=None, filename=None):
478 def preprocess(self, source, name=None, filename=None):
486 def _tokenize(self, source, name, filename=None, state=None):
515 def compile(self, source, name=None, filename=None, raw=False,
536 source_hint = None
547 if filename is None:
573 Per default the return value is converted to `None` if the
577 >>> env.compile_expression('var')() is None
585 exc_info = None
591 None, None)
595 if exc_info is not None:
601 def compile_templates(self, target, extensions=None, filter_func=None,
602 zip='deflated', log_function=None,
605 and stores them in `target`. If `zip` is `None`, instead of in a
628 if log_function is None:
629 log_function = lambda x: None
657 if zip is not None:
695 def list_templates(self, extensions=None, filter_func=None):
712 if extensions is not None:
713 if filter_func is not None:
718 if filter_func is not None:
722 def handle_exception(self, exc_info=None, rendered=False, source_hint=None):
727 if exc_info is None:
734 if _make_traceback is None:
737 if rendered and self.exception_formatter is not None:
739 if self.exception_handler is not None:
758 if self.loader is None:
760 if self.cache is not None:
762 if template is not None and (not self.auto_reload or \
766 if self.cache is not None:
771 def get_template(self, name, parent=None, globals=None):
774 If the `parent` parameter is not `None`, :meth:`join_path` is called
789 if parent is not None:
794 def select_template(self, names, parent=None, globals=None):
812 if parent is not None:
822 parent=None, globals=None):
835 def from_string(self, source, globals=None, template_class=None):
841 return cls.from_code(self, self.compile(source), globals, None)
897 finalize=None,
905 None, 0, False, None)
909 def from_code(cls, environment, code, globals, uptodate=None):
942 t._module = None
946 t._uptodate = None
995 def new_context(self, vars=None, shared=False, locals=None):
1006 def make_module(self, vars=None, shared=False, locals=None):
1027 if self._module is not None:
1044 if self._uptodate is None:
1055 if self.name is None:
1081 if self.__name__ is None:
1103 rv = None
1123 def dump(self, fp, encoding=None, errors='strict'):
1134 fp = open(fp, encoding is None and 'w' or 'wb')
1137 if encoding is not None: