provinzkraut / unasyncd

Transforming asynchronous to synchronous Python code
MIT License
18 stars 2 forks source link

Support replacements in `__all__` #10

Closed provinzkraut closed 1 year ago

provinzkraut commented 1 year ago

Support replacing names used within a modules __all__:

from foo import AsyncThing

__all__ = ("AsyncThing")

to

from bar import SyncThing

__all__ = ("SyncThing")