Home
last modified time | relevance | path

Searched refs:removeprefix (Results 1 – 7 of 7) sorted by relevance

/third_party/libpsl/msvc/
Dreplace.py86 input_string = args.removeprefix + args.instring
/third_party/python/Lib/ensurepip/
D__init__.py56 version = filename.removeprefix(prefix).partition('-')[0]
/third_party/python/Lib/collections/
D__init__.py1412 def removeprefix(self, prefix, /): member in UserString
1415 return self.__class__(self.data.removeprefix(prefix))
/third_party/python/Doc/library/
Dstdtypes.rst1866 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/
D3.9.0a6.rst250 Added str.removeprefix and str.removesuffix methods and corresponding bytes,
/third_party/python/Doc/whatsnew/
D3.9.rst167 :meth:`str.removeprefix(prefix)<str.removeprefix>` and
/third_party/chromium/patch/
D0001-cve.patch28192 +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 ()