py-backwards icon indicating copy to clipboard operation
py-backwards copied to clipboard

Convert Python 3 typing information into comments for Python 2

Open mitar opened this issue 8 years ago • 1 comments

Currently, typing is simply removed. But instead, it could be converted to comments so that type checking would still work.

mitar avatar Sep 17 '17 20:09 mitar

you should convert type info to annotations assignment. attr.dataclass(cls) looks at the class's annotations to determine which fields to add to the constructor.

nyanpasu64 avatar Mar 04 '19 01:03 nyanpasu64