logoalt Hacker News

pepa65last Monday at 12:20 AM1 replyview on HN

Or: `import math with abs as absolute, sqrt as square_root`


Replies

derdilast Monday at 10:13 AM

Oooh, bikeshedding! To me your `import math with x as y` reads like "import all of math, making all of its symbols visible, just renaming some of them". That's different from the intended "from math, import only x (maybe with a renaming)".