Traffy.UnityPython icon indicating copy to clipboard operation
Traffy.UnityPython copied to clipboard

document unsupported CPython features

Open thautwarm opened this issue 3 years ago • 2 comments

thautwarm avatar Apr 01 '22 05:04 thautwarm

  • typing.ClassVar,
  • typing.Union: use type1 | type2 or types.UnionType instead.

thautwarm avatar Apr 01 '22 09:04 thautwarm

  • % format for str, bytes and bytearray. We can use $"", str.format and str.format_map instead. For byte case, use bytearray and build bytes using bytearray.extend(str.decode(...))

thautwarm avatar Apr 01 '22 10:04 thautwarm