mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
This patch changes a few of the scripts to have __name__=='__main__' clauses so that they are importable without running. Also fixes the syntax errors revealed by the tests.
This commit is contained in:
parent
b6046301ef
commit
54ac832a24
7 changed files with 128 additions and 82 deletions
|
@ -20,7 +20,7 @@ file ... : files to sum; '-' or no files means stdin
|
|||
import sys
|
||||
import os
|
||||
import getopt
|
||||
import md5
|
||||
from hashlib import md5
|
||||
|
||||
def sum(*files):
|
||||
sts = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue