All pastes #594849 Raw Edit

Something

public text v1 · immutable
#594849 ·published 2007-06-29 04:00 UTC
rendered paste body
class foo:
  @classmethod
  def the_classmethod(cls, blah):
    cls._some_attribute[blah] = True

class bar(foo):
  bar.the_classmethod("test")

print bar._some_attribute["test"]