memesearch
Python Keyword Argument Order

Python Keyword Argument Order

Download Find similar pictures
Text on the meme
>>> def f(a, b, c): ... print(a, b, c) ... >>> f(c = 3, a = 2, b = 1) 2 1 3 >>> Always has been How long does Python act like this?
What it means

Two astronauts stand on the Moon, with one pointing a gun at the other beneath the caption “Always has been.” A Python console demonstrates that keyword arguments are printed in the function’s parameter order rather than the order they were passed, making the joke a programming reaction to Python’s consistent behavior.

Objects
Tags
Sources
Template
Always Has Been
Type
image
Size
800×445 · 55.0 KiB
Mood
саркастичный, абсурдный
Language
en
Added