summaryrefslogtreecommitdiff
path: root/Lib/symtable.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r--Lib/symtable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index e3c5b52ced..089c8dcbc0 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -240,7 +240,7 @@ class Symbol:
Raises ValueError if the name is bound to multiple namespaces.
"""
if len(self.__namespaces) != 1:
- raise ValueError, "name is bound to multiple namespaces"
+ raise ValueError("name is bound to multiple namespaces")
return self.__namespaces[0]
if __name__ == "__main__":