summaryrefslogtreecommitdiff
path: root/pyramid/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/interfaces.py')
-rw-r--r--pyramid/interfaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py
index bbdc5121d..9e5cbb6d3 100644
--- a/pyramid/interfaces.py
+++ b/pyramid/interfaces.py
@@ -5,7 +5,7 @@ from zope.interface import (
Interface,
)
-from pyramid.compat import PY3
+from pyramid.compat import PY2
# public API interfaces
@@ -311,7 +311,7 @@ class IDict(Interface):
def values():
""" Return a list of values from the dictionary """
- if not PY3:
+ if PY2:
def iterkeys():
""" Return an iterator of keys from the dictionary """