diff --git a/porting-code-to-python-3-with-2to3.html b/porting-code-to-python-3-with-2to3.html index 108e74c..3641b35 100644 --- a/porting-code-to-python-3-with-2to3.html +++ b/porting-code-to-python-3-with-2to3.html @@ -1069,6 +1069,9 @@ except: Python 2 Python 3 +types.UnicodeType +str + types.StringType bytes @@ -1086,6 +1089,42 @@ except: types.NoneType type(None) + +types.BooleanType +bool + +types.BufferType +memoryview + +types.ClassType +type + +types.ComplexType +complex + +types.EllipsisType +type(Ellipsis) + +types.FloatType +float + +types.ObjectType +object + +types.NotImplementedType +type(NotImplemented) + +types.SliceType +slice + +types.TupleType +tuple + +types.TypeType +type + +types.XRangeType +range