Minor code cleanup.
diff --git a/Lib/random.py b/Lib/random.py
index 1ab75d5..987cff1 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -317,7 +317,7 @@
 
         n = len(population)
         if not 0 <= k <= n:
-            raise ValueError, "sample larger than population"
+            raise ValueError("sample larger than population")
         random = self.random
         _int = int
         result = [None] * k