You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not really an issue but a tip that in arguments parsing
for loop (lines 65-79)
You use enumerate() with start = 0, which is default, you should change it to 1 inasmuch you don't use "index" variable at starting value, always running calculation which are not necessary
Changes
argv[index + 1] to argv[index]
for index, arg in enumerate(argv): to for index, arg in enumerate(argv, start = 1):
The text was updated successfully, but these errors were encountered:
It's not really an issue but a tip that in arguments parsing
for loop (lines 65-79)
Changes
argv[index + 1]
toargv[index]
for index, arg in enumerate(argv):
tofor index, arg in enumerate(argv, start = 1):
The text was updated successfully, but these errors were encountered: