You can put arbitrary metadata on functions, classes and other things that are basically objects in in Python. If you write
def somefunction(x): ... body ...
somefunction.specialmetadata = "a value"
x = 4 x.metavalue = 3
Clojure supports metadata:
https://clojure.org/reference/metadata
You can put arbitrary metadata on functions, classes and other things that are basically objects in in Python. If you write
you can later write so what you can do is fairly unlimited. You can't write, however as the int isn't a general object. Even if you did the metadata would apply to the value (the '4') and not the variable (the 'x')