Y
Hacker News
new
|
ask
|
show
|
jobs
by
pepa65
306 days ago
Or: `import math with abs as absolute, sqrt as square_root`
1 comments
derdi
306 days ago
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)".
link