risor-io / risor

Fast and flexible scripting for Go developers and DevOps.
https://risor.io
Apache License 2.0
581 stars 24 forks source link

add support for multiple imports in a from-import statement #181

Closed myzie closed 5 months ago

myzie commented 5 months ago

Updates the from-import statement to handle these variations:

from math import max, min
from math import max as a, min as b
from math import (
    max as a,
    min
)