Minor readability tweak
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index f465e74..03ecea2 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -393,7 +393,7 @@
                 field_names[index] = '_%d' % index
             seen.add(name)
     for name in [typename] + field_names:
-        if type(name) != str:
+        if type(name) is not str:
             raise TypeError('Type names and field names must be strings')
         if not name.isidentifier():
             raise ValueError('Type names and field names must be valid '