diff --git a/cerberus/platform.py b/cerberus/platform.py
index <HASH>..<HASH> 100644
--- a/cerberus/platform.py
+++ b/cerberus/platform.py
@@ -3,9 +3,9 @@
 import sys
 
 
-if sys.version_info[0] == 3:
-    _str_type = str
-    _int_types = (int,)
-else:
+if sys.version_info[0] == 2:
     _str_type = basestring  # noqa
     _int_types = (int, long)  # noqa
+else:
+    _str_type = str
+    _int_types = (int,)
Makes the software ready for Python 4