mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
New == syntax
This commit is contained in:
parent
61cfd96003
commit
f628a985ff
4 changed files with 10 additions and 10 deletions
|
@ -37,7 +37,7 @@ def finger(host, args):
|
|||
def main():
|
||||
options = ''
|
||||
i = 1
|
||||
while i < len(sys.argv) and sys.argv[i][:1] = '-':
|
||||
while i < len(sys.argv) and sys.argv[i][:1] == '-':
|
||||
options = options + sys.argv[i] + ' '
|
||||
i = i+1
|
||||
args = sys.argv[i:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue