Searched refs:newstyle (Results 1 - 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dtest_index.py6 class newstyle: class in inherits:
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/python/cpython2/Include/
H A Dintobject.h68 If newstyle is zero, then use the pre-2.6 behavior of octal having
70 PyAPI_FUNC(PyObject*) _PyInt_Format(PyIntObject* v, int base, int newstyle);
H A Dlongobject.h122 If newstyle is zero, then use the pre-2.6 behavior of octal having
124 PyAPI_FUNC(PyObject *) _PyLong_Format(PyObject *aa, int base, int addL, int newstyle);
/external/python/cpython2/Lib/test/
H A Dtest_index.py12 class newstyle(object): class in inherits:object
27 self.n = newstyle()
76 self.n = newstyle()
78 self.n2 = newstyle()
244 n = newstyle()
H A Dtest_inspect.py110 class newstyle(object): pass class in function:TestPredicates.test_isclass
111 self.assertTrue(inspect.isclass(newstyle))
522 def _classify_test(self, newstyle):
526 if newstyle:
594 if newstyle:
/external/libmojo/third_party/jinja2/
H A Dext.py179 def _install(self, translations, newstyle=None):
186 self._install_callables(gettext, ngettext, newstyle)
188 def _install_null(self, newstyle=None):
192 newstyle
195 def _install_callables(self, gettext, ngettext, newstyle=None):
196 if newstyle is not None:
197 self.environment.newstyle_gettext = newstyle
366 # in case newstyle gettext is used, the method is powerful
565 The `newstyle_gettext` flag can be set to `True` to enable newstyle
/external/python/cpython2/Objects/
H A Dintobject.c1182 If newstyle is zero, then use the pre-2.6 behavior of octal having
1185 _PyInt_Format(PyIntObject *v, int base, int newstyle) argument
1228 if (newstyle) {
H A Dlongobject.c1452 If newstyle is zero, then use the pre-2.6 behavior of octal having
1455 _PyLong_Format(PyObject *aa, int base, int addL, int newstyle) argument
1590 if (newstyle) {

Completed in 375 milliseconds