Searched refs:removeprefix (Results 1 – 7 of 7) sorted by relevance
/third_party/libpsl/msvc/ |
D | replace.py | 86 input_string = args.removeprefix + args.instring
|
/third_party/python/Lib/ensurepip/ |
D | __init__.py | 56 version = filename.removeprefix(prefix).partition('-')[0]
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1412 def removeprefix(self, prefix, /): member in UserString 1415 return self.__class__(self.data.removeprefix(prefix))
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 1866 See :meth:`str.removeprefix` for a method that will remove a single prefix 1871 >>> 'Arthur: three!'.removeprefix('Arthur: ') 1898 .. method:: str.removeprefix(prefix, /) 1904 >>> 'TestHook'.removeprefix('Test') 1906 >>> 'BaseTestCase'.removeprefix('Test') 2669 .. method:: bytes.removeprefix(prefix, /) 2670 bytearray.removeprefix(prefix, /) 2676 >>> b'TestHook'.removeprefix(b'Test') 2678 >>> b'BaseTestCase'.removeprefix(b'Test') 2964 :term:`bytes-like object`. See :meth:`~bytes.removeprefix` for a method [all …]
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 250 Added str.removeprefix and str.removesuffix methods and corresponding bytes,
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 167 :meth:`str.removeprefix(prefix)<str.removeprefix>` and
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 28192 +def removeprefix(s, prefix): 28204 + removeprefix(x, 'src%s' % os.path.sep) for x in os.getenv ('HBSOURCES', '').split () 28219 +def removeprefix(s, prefix): 28231 + removeprefix(x, 'src%s' % os.path.sep) for x in os.getenv ('HBSOURCES', '').split () 28258 +def removeprefix(s, prefix): 28270 + removeprefix(x, 'src%s' % os.path.sep) for x in os.getenv ('HBSOURCES', '').split ()
|