MAINT: Remove shadowing of built-in type function.

Change variable name in convertible registration so that `type` is not
over-written at module scope.
This commit is contained in:
Eddie Hebert
2015-07-13 16:38:50 -04:00
parent 2ab9f8a63c
commit 3847fa70e0
+2 -2
View File
@@ -630,8 +630,8 @@ class AssetConvertible(with_metaclass(ABCMeta)):
AssetConvertible.register(Integral)
AssetConvertible.register(Asset)
# Use six.string_types for Python2/3 compatibility
for type in string_types:
AssetConvertible.register(type)
for _type in string_types:
AssetConvertible.register(_type)
class NotAssetConvertible(ValueError):