theelous3 / multio

A unifying library for curio and trio, supporting both async libs for great good.
MIT License
58 stars 7 forks source link

multio.init() #12

Closed pmav99 closed 6 years ago

pmav99 commented 6 years ago

Obviously a stupid error of my part, but from a user perspective I think it would be nice if, in addition to strings, multio.init() also accepted a module.

import curio
import multio
multio.init(curio)   # This throws a KeyError
theelous3 commented 6 years ago

That's a decent little idea. Will implement.