summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sqlalchemy/util/compat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py
index 215a68e91..9f8a3069d 100644
--- a/lib/sqlalchemy/util/compat.py
+++ b/lib/sqlalchemy/util/compat.py
@@ -55,7 +55,7 @@ else:
# a controversial feature, required by MySQLdb currently
def buffer(x):
- return x
+ return x
# Py2K
buffer = buffer
@@ -121,7 +121,7 @@ try:
except ImportError:
def namedtuple(typename, fieldnames):
def __new__(cls, *values):
- tup = tuple.__new__(tuptype, values)
+ tup = tuple.__new__(cls, values)
for i, fname in enumerate(fieldnames):
setattr(tup, fname, tup[i])
return tup
@@ -231,7 +231,7 @@ import time
if win32 or jython:
time_func = time.clock
else:
- time_func = time.time
+ time_func = time.time
if sys.version_info >= (2, 5):
any = any