HomeSort by relevance Sort by last modified time
    Searched refs:is_tuple (Results 1 - 13 of 13) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_raise.py 29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple namespace
53 if is_tuple(exc):
54 while is_tuple(exc):
67 if is_tuple(val):
fix_throw.py 14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple namespace
40 if is_tuple(val):
fix_except.py 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms namespace
77 if is_tuple(N) or is_list(N):
fix_print.py 21 from ..fixer_util import Name, Call, Comma, String, is_tuple namespace
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_raise.py 29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple namespace
53 if is_tuple(exc):
54 while is_tuple(exc):
67 if is_tuple(val):
fix_throw.py 14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple namespace
40 if is_tuple(val):
fix_except.py 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms namespace
77 if is_tuple(N) or is_list(N):
fix_print.py 21 from ..fixer_util import Name, Call, Comma, String, is_tuple namespace
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 32 def is_tuple(self, string): member in class:Test_is_tuple
33 return fixer_util.is_tuple(parse(string, strip_levels=2))
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)"))
39 self.assertTrue(self.is_tuple("(a,)"))
40 self.assertTrue(self.is_tuple("()"))
43 self.assertFalse(self.is_tuple("(a)"))
44 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 32 def is_tuple(self, string): member in class:Test_is_tuple
33 return fixer_util.is_tuple(parse(string, strip_levels=2))
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)"))
39 self.assertTrue(self.is_tuple("(a,)"))
40 self.assertTrue(self.is_tuple("()"))
43 self.assertFalse(self.is_tuple("(a)"))
44 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
  /external/chromium_org/third_party/cython/src/Cython/Utility/
ObjectHandling.c 84 int is_tuple, int has_known_size, int decref_tuple);
92 int is_tuple, int has_known_size, int decref_tuple) {
95 if (!is_tuple && unlikely(!PyTuple_Check(tuple))) {
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
fixer_util.py 137 def is_tuple(node): function
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
fixer_util.py 137 def is_tuple(node): function

Completed in 437 milliseconds