Searched refs:istitle (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Tools/pybench/ |
D | Strings.py | 480 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()
|
D | Unicode.py | 403 s.istitle() 413 s.istitle() 423 s.istitle() 433 s.istitle() 443 s.istitle()
|
/external/python/cpython2/Lib/test/ |
D | test_bool.py | 218 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)
|
D | test_unicodedata.py | 38 u"01"[char.istitle()], 49 u"01"[(char + u'abc').istitle()],
|
D | test_unicode.py | 342 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())
|
D | test_bigmem.py | 229 self.assertTrue(s.istitle()) 231 self.assertTrue(s.istitle()) 233 self.assertFalse(s.istitle())
|
/external/python/cpython2/Lib/ |
D | UserString.py | 98 def istitle(self): return self.data.istitle() member in UserString
|
/external/python/cpython3/Lib/test/ |
D | test_unicodedata.py | 36 "01"[char.istitle()], 47 "01"[(char + 'abc').istitle()],
|
D | test_bool.py | 224 self.assertIs("X".istitle(), True) 225 self.assertIs("x".istitle(), False)
|
D | test_unicode.py | 610 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())
|
D | test_bigmem.py | 216 self.assertTrue(s.istitle()) 218 self.assertTrue(s.istitle()) 220 self.assertFalse(s.istitle())
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 1433 def istitle(self): member in UserString 1434 return self.data.istitle()
|
/external/starlark-go/starlark/testdata/ |
D | string.star | 466 assert.true("Dženan Ljubović".istitle()) 467 assert.true(not "DŽenan LJubović".istitle())
|
/external/starlark-go/doc/ |
D | spec.md | 172 * [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/ |
D | stdtypes.rst | 1773 .. method:: str.istitle() 3201 .. method:: bytes.istitle() 3202 bytearray.istitle() 3210 >>> b'Hello World'.istitle() 3212 >>> b'Hello world'.istitle()
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 479 s.istitle() return True if string s is a titlecased string, False (7)
|
/external/python/cpython2/Doc/library/ |
D | stdtypes.rst | 1054 .. method:: str.istitle()
|