/external/python/cpython3/Lib/test/ |
D | test_index.py | 6 class newstyle: class 16 self.o = newstyle() 17 self.n = newstyle() 97 self.o = newstyle() 98 self.n = newstyle() 99 self.o2 = newstyle() 100 self.n2 = newstyle() 239 n = newstyle()
|
/external/libchrome/third_party/jinja2/ |
D | ext.py | 181 def _install(self, translations, newstyle=None): argument 188 self._install_callables(gettext, ngettext, newstyle) 190 def _install_null(self, newstyle=None): argument 194 newstyle 197 def _install_callables(self, gettext, ngettext, newstyle=None): argument 198 if newstyle is not None: 199 self.environment.newstyle_gettext = newstyle
|
/external/python/jinja/src/jinja2/ |
D | ext.py | 192 def _install(self, translations, newstyle=None): argument 201 self._install_callables(gettext, ngettext, newstyle) 203 def _install_null(self, newstyle=None): argument 205 lambda x: x, lambda s, p, n: s if n == 1 else p, newstyle 208 def _install_callables(self, gettext, ngettext, newstyle=None): argument 209 if newstyle is not None: 210 self.environment.newstyle_gettext = newstyle
|
/external/python/cpython2/Lib/test/ |
D | test_index.py | 12 class newstyle(object): class 27 self.n = newstyle() 76 self.n = newstyle() 78 self.n2 = newstyle() 244 n = newstyle()
|
D | test_inspect.py | 111 class newstyle(object): pass class 112 self.assertTrue(inspect.isclass(newstyle)) 553 def _classify_test(self, newstyle): argument 557 if newstyle: 625 if newstyle:
|
/external/python/jinja/docs/ |
D | extensions.rst | 44 .. method:: jinja2.Environment.install_gettext_translations(translations, newstyle=False) 53 .. method:: jinja2.Environment.install_null_translations(newstyle=False) 61 .. method:: jinja2.Environment.install_gettext_callables(gettext, ngettext, newstyle=False) 67 If ``newstyle`` is activated, the callables are wrapped to work like 68 newstyle callables. See :ref:`newstyle-gettext` for more information. 138 ``env.newstyle_gettext = True`` or passing ``newstyle=True`` to 164 The advantages of newstyle gettext are:
|
D | templates.rst | 1679 If :ref:`newstyle-gettext` calls are activated, using placeholders is
|
/external/python/cpython2/Include/ |
D | intobject.h | 73 PyAPI_FUNC(PyObject*) _PyInt_Format(PyIntObject* v, int base, int newstyle);
|
D | longobject.h | 124 PyAPI_FUNC(PyObject *) _PyLong_Format(PyObject *aa, int base, int addL, int newstyle);
|
/external/python/jinja/tests/ |
D | test_ext.py | 93 newstyle_i18n_env.install_gettext_callables(gettext, ngettext, newstyle=True) 473 newstyle=True,
|
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
D | PythonDataObjectsTests.cpp | 758 auto newstyle = As<PythonCallable>(globals.GetItem("NewStyle")); in TEST_F() local 759 ASSERT_THAT_EXPECTED(newstyle, llvm::Succeeded()); in TEST_F() 760 arginfo = newstyle.get().GetArgInfo(); in TEST_F()
|
/external/python/cpython2/Objects/ |
D | intobject.c | 1188 _PyInt_Format(PyIntObject *v, int base, int newstyle) in _PyInt_Format() argument 1231 if (newstyle) { in _PyInt_Format()
|
D | longobject.c | 1455 _PyLong_Format(PyObject *aa, int base, int addL, int newstyle) in _PyLong_Format() argument 1590 if (newstyle) { in _PyLong_Format()
|
/external/python/jinja/ |
D | CHANGES.rst | 598 - Babel extraction can now properly extract newstyle gettext calls. 599 - Using the variable ``num`` in newstyle gettext for something else 617 - Support for newstyle gettext translations which result in a nicer
|
/external/python/cpython2/Doc/ |
D | glossary.rst | 579 More information can be found in :ref:`newstyle`.
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 1150 of new-style classes. Please see https://www.python.org/doc/newstyle/ for
|