diff options
-rw-r--r-- | Lib/dis.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ def dis(x=None): if hasattr(x, 'co_code'): disassemble(x) else: - raise ValueError, \ + raise TypeError, \ "don't know how to disassemble %s objects" % \ type(x).__name__ |