What you have almost works. Try this:
No kidding that's what I get for wild stabs in the dark, I thought
I'd tried that. I'm pleased that it really is that simple (and that,
whatever metaclasses are used for, I don't need to worry about them
yet).
Thanks!
Eric
(Grrr, bit by the reply
On Thu, Jun 19, 2008 at 9:50 AM, Eric Abrahamsen
<[EMAIL PROTECTED]> wrote:
> I'm making a few classes for a very simple ORM, where the classes reflect
> objects that I'm persisting via pickle. I'd like to add and delete instances
> via add() and delete() classmethods, so that the classes can keep
I'm probably in over my head here, but I really want to know how this
works, and I hope someone will be willing to take a moment to explain
it...
I'm making a few classes for a very simple ORM, where the classes
reflect objects that I'm persisting via pickle. I'd like to add and
delete in