What do you call a class not intended to be instantiated
bignose+hates-spam at benfinney.id.au
Mon Sep 22 11:19:57 CEST 2008
Steven D'Aprano <steven at REMOVE.THIS.cybersource.com.au> writes:
> I don't want the objects to share state. I'm not exactly sure what I
> said that has given so many people the impression that I do.
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
> Essentially, the class is used as a function that keeps state from
> one call to the next.
Perhaps if you say what you want that isn't provided by any of a
function, a module, or a class. Specifically, what state you want to
track, and why it's so important that the state not be available to
\ “I love and treasure individuals as I meet them, I loathe and |
`\ despise the groups they identify with and belong to.” —George |
_o__) Carlin, 2007 |
More information about the Python-list