Message341502
There is the same problem with annotations.
>>> from __future__ import annotations
>>> def f() -> X[f'''{"'"}''']: pass
...
>>> print(f.__annotations__['return'])
X[f'{"\'"}']
You can look at https://github.com/berkerpeksag/astor. Maybe this problem is solved in that project. |
|
Date |
User |
Action |
Args |
2019-05-06 13:54:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.smith, berker.peksag |
2019-05-06 13:54:35 | serhiy.storchaka | set | messageid: <1557150875.95.0.0418972995783.issue28002@roundup.psfhosted.org> |
2019-05-06 13:54:35 | serhiy.storchaka | link | issue28002 messages |
2019-05-06 13:54:35 | serhiy.storchaka | create | |
|