/external/python/cpython2/Lib/ |
D | stringold.py | 64 def swapcase(s): function 71 return s.swapcase()
|
D | string.py | 240 def swapcase(s): function 247 return s.swapcase()
|
D | UserString.py | 126 def swapcase(self): return self.__class__(self.data.swapcase()) member in UserString
|
/external/python/cpython3/Lib/test/ |
D | test_unicode.py | 856 self.assertEqual('\U0001044F'.swapcase(), '\U00010427') 857 self.assertEqual('\U00010427'.swapcase(), '\U0001044F') 858 self.assertEqual('\U0001044F\U0001044F'.swapcase(), 860 self.assertEqual('\U00010427\U0001044F'.swapcase(), 862 self.assertEqual('\U0001044F\U00010427'.swapcase(), 864 self.assertEqual('X\U00010427x\U0001044F'.swapcase(), 866 self.assertEqual('fi'.swapcase(), 'FI') 867 self.assertEqual('\u0130'.swapcase(), '\u0069\u0307') 869 self.assertEqual('\u03a3'.swapcase(), '\u03c3') 870 self.assertEqual('\u0345\u03a3'.swapcase(), '\u0399\u03c3') [all …]
|
D | test_bigmem.py | 429 s = s.swapcase() 431 self.assertEqual(s[:sublen * 3], SUBSTR.swapcase() * 3) 432 self.assertEqual(s[-sublen * 3:], SUBSTR.swapcase() * 3)
|
D | test_sys.py | 532 s2 = s.swapcase().swapcase()
|
D | test_zlib.py | 639 data1 = bytes(str(HAMLET_SCENE, "ascii").swapcase(), "ascii")
|
/external/python/cpython2/Lib/test/ |
D | test_strop.py | 48 self.assertTrue(strop.swapcase("HeLLo cOmpUteRs") == "hEllO CoMPuTErS")
|
D | test_unicode.py | 520 self.assertEqual(u'\U0001044F'.swapcase(), u'\U00010427') 521 self.assertEqual(u'\U00010427'.swapcase(), u'\U0001044F') 522 self.assertEqual(u'\U0001044F\U0001044F'.swapcase(), 524 self.assertEqual(u'\U00010427\U0001044F'.swapcase(), 526 self.assertEqual(u'\U0001044F\U00010427'.swapcase(), 528 self.assertEqual(u'X\U00010427x\U0001044F'.swapcase(),
|
D | test_bigmem.py | 416 s = s.swapcase() 418 self.assertEqual(s[:sublen * 3], SUBSTR.swapcase() * 3) 419 self.assertEqual(s[-sublen * 3:], SUBSTR.swapcase() * 3)
|
D | test_zlib.py | 497 data1 = HAMLET_SCENE.swapcase()
|
D | test_builtin.py | 640 s2 = s.swapcase().swapcase()
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 1495 def swapcase(self): member in UserString 1496 return self.__class__(self.data.swapcase())
|
/external/tensorflow/ |
D | .pylintrc | 314 ….join,string.joinfields,string.lstrip,string.rstrip,string.strip,string.swapcase,string.translate,…
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | pylintrc | 314 ….join,string.joinfields,string.lstrip,string.rstrip,string.strip,string.swapcase,string.translate,…
|
/external/python/cpython3/Doc/library/ |
D | stdtypes.rst | 2094 .. method:: str.swapcase() 2098 ``s.swapcase().swapcase() == s``. 3284 .. method:: bytes.swapcase() 3285 bytearray.swapcase() 3292 >>> b'Hello World'.swapcase() 3299 Unlike :func:`str.swapcase()`, it is always the case that 3300 ``bin.swapcase().swapcase() == bin`` for the binary versions. Case
|
/external/python/cpython2/Doc/library/ |
D | string.rst | 1003 .. function:: swapcase(s)
|
D | stdtypes.rst | 1318 .. method:: str.swapcase()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 196 swapcase, casefold).
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 507 s.swapcase() return a copy of s with uppercase characters converted
|
/external/python/cpython3/Misc/ |
D | HISTORY | 983 title, swapcase, casefold).
|