Home
last modified time | relevance | path

Searched refs:istitle (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Tools/pybench/
DStrings.py480 s.istitle()
488 s.istitle()
496 s.istitle()
504 s.istitle()
512 s.istitle()
520 s.istitle()
528 s.istitle()
536 s.istitle()
544 s.istitle()
552 s.istitle()
DUnicode.py403 s.istitle()
413 s.istitle()
423 s.istitle()
433 s.istitle()
443 s.istitle()
/external/python/cpython2/Lib/test/
Dtest_bool.py218 self.assertIs("X".istitle(), True)
219 self.assertIs("x".istitle(), False)
242 self.assertIs(unicode("X", 'ascii').istitle(), True)
243 self.assertIs(unicode("x", 'ascii').istitle(), False)
Dtest_unicodedata.py38 u"01"[char.istitle()],
49 u"01"[(char + u'abc').istitle()],
Dtest_unicode.py342 self.assertTrue(u'\U00010401\U00010429'.istitle())
343 self.assertTrue(u'\U00010427\U0001044E'.istitle())
346 self.assertFalse(ch.istitle(), '{!r} is not title'.format(ch))
446 self.assertFalse(s.istitle())
451 self.assertTrue(s.istitle())
Dtest_bigmem.py229 self.assertTrue(s.istitle())
231 self.assertTrue(s.istitle())
233 self.assertFalse(s.istitle())
/external/python/cpython3/Lib/test/
Dtest_unicodedata.py38 "01"[char.istitle()],
49 "01"[(char + 'abc').istitle()],
Dtest_bool.py226 self.assertIs("X".istitle(), True)
227 self.assertIs("x".istitle(), False)
Dtest_unicode.py607 self.assertTrue('\U00010401\U00010429'.istitle())
608 self.assertTrue('\U00010427\U0001044E'.istitle())
611 self.assertFalse(ch.istitle(), '{!a} is not title'.format(ch))
730 self.assertFalse(s.istitle())
735 self.assertTrue(s.istitle())
Dtest_bigmem.py216 self.assertTrue(s.istitle())
218 self.assertTrue(s.istitle())
220 self.assertFalse(s.istitle())
/external/python/cpython2/Lib/
DUserString.py98 def istitle(self): return self.data.istitle() member in UserString
/external/python/cpython3/Lib/collections/
D__init__.py1238 def istitle(self): return self.data.istitle() member in UserString
/external/python/cpython3/Doc/library/
Dstdtypes.rst1738 .. method:: str.istitle()
3026 .. method:: bytes.istitle()
3027 bytearray.istitle()
3035 >>> b'Hello World'.istitle()
3037 >>> b'Hello world'.istitle()
/external/python/cpython2/Misc/
Dcheatsheet479 s.istitle() return True if string s is a titlecased string, False (7)
/external/python/cpython2/Doc/library/
Dstdtypes.rst1054 .. method:: str.istitle()