Home
last modified time | relevance | path

Searched refs:istitle (Results 1 – 17 of 17) 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/cpython2/Lib/
DUserString.py98 def istitle(self): return self.data.istitle() member in UserString
/external/python/cpython3/Lib/test/
Dtest_unicodedata.py36 "01"[char.istitle()],
47 "01"[(char + 'abc').istitle()],
Dtest_bool.py224 self.assertIs("X".istitle(), True)
225 self.assertIs("x".istitle(), False)
Dtest_unicode.py610 self.assertTrue('\U00010401\U00010429'.istitle())
611 self.assertTrue('\U00010427\U0001044E'.istitle())
614 self.assertFalse(ch.istitle(), '{!a} is not title'.format(ch))
750 self.assertFalse(s.istitle())
755 self.assertTrue(s.istitle())
Dtest_bigmem.py216 self.assertTrue(s.istitle())
218 self.assertTrue(s.istitle())
220 self.assertFalse(s.istitle())
/external/python/cpython3/Lib/collections/
D__init__.py1433 def istitle(self): member in UserString
1434 return self.data.istitle()
/external/starlark-go/starlark/testdata/
Dstring.star466 assert.true("Dženan Ljubović".istitle())
467 assert.true(not "DŽenan LJubović".istitle())
/external/starlark-go/doc/
Dspec.md172 * [string·istitle](#string·istitle)
676 * [`istitle`](#string·istitle)
3948 <a id='string·istitle'></a>
3949 ### string·istitle
3951 `S.istitle()` reports whether the string S contains at least one cased Unicode
3955 "Hello, World!".istitle() # True
3956 "Catch-22".istitle() # True
3957 "HAL-9000".istitle() # False
3958 "Dženan".istitle() # True
3959 "DŽenan".istitle() # False ("DŽ" is a single Unicode letter)
[all …]
/external/python/cpython3/Doc/library/
Dstdtypes.rst1773 .. method:: str.istitle()
3201 .. method:: bytes.istitle()
3202 bytearray.istitle()
3210 >>> b'Hello World'.istitle()
3212 >>> 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()