mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
New == syntax
This commit is contained in:
parent
4d8e859e8f
commit
bdfcfccbe5
73 changed files with 419 additions and 391 deletions
|
@ -22,7 +22,7 @@ def main():
|
|||
def getsuffix(file):
|
||||
suff = ''
|
||||
for i in range(len(file)):
|
||||
if file[i] = '.':
|
||||
if file[i] == '.':
|
||||
suff = file[i:]
|
||||
return suff
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue