aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/dis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index 633c01b6fce..cad62b95990 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -896,8 +896,7 @@ class Bytecode:
return output.getvalue()
-def _test():
- """Simple test program to disassemble a file."""
+def main():
import argparse
parser = argparse.ArgumentParser()
@@ -911,4 +910,4 @@ def _test():
dis(code, show_caches=args.show_caches)
if __name__ == "__main__":
- _test()
+ main()