4
miej
26d

print(walrus := boto3.client('iam'))

Comments
  • 0
    Par-fucking-don?
  • 1
    goo goo gojooo
  • 0
    i fucking hate that new walrus operator.
  • 2
    @linus-torvald you get accustomed to it in other languages.

    Weird python went with it though.
  • 2
    @linus-torvald I love it.
    while line := sock.recv(1024):
    print(chunk)

    Before:
    While True:
    chunk = sock.recv(1024)
    If not chunk:
    break

    What's not to like? I know it from another language as well. I think php did it as well. I'm sure I did it in another language
Add Comment