zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
U
®ý°døã@sLdZddlmZddlZejdkrHddddœdd„Zdddd    œd
d „ZndS) zè
Python3.9 introduces removesuffix and remove prefix.
 
They're reimplemented here for use in Python3.8.
 
NOTE: when pyupgrade --py39-plus removes nearly everything in this file,
this file and the associated tests should be removed.
é)Ú annotationsN)éé    Ústr)ÚstringÚsuffixÚreturncCs | |¡r|dt|ƒ …S|S©N)ÚendswithÚlen)rr©r úOd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/util/_str_methods.pyÚ removesuffixs
r)rÚprefixrcCs| |¡r|t|ƒd…S|Sr    )Ú
startswithr )rrr r r Ú removeprefixs
r)Ú__doc__Ú
__future__rÚsysÚ version_inforrr r r r Ú<module>s