All pastes #594850 Raw Edit

Something

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

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

print bar._some_attribute["test"]