Y
Hacker News
new
|
ask
|
show
|
jobs
by
heavyset_go
1982 days ago
print() is a function now and you can use it with lambdas.
1 comments
pmiller2
1981 days ago
Even in Python 2, you can do something like this:
println = lambda s: sys.stdout.write(s + '\n')
Not that it really makes things much better, but, at least it shows you can do it.
link