hello,
i want to make use of sqlite3's "adapter" and "converter" capabilities
but my classes are more complex than the point examples in the python
documentation (http://docs.python.org/lib/node347.html), because they
include foreign keys to othe rtables.
I don't want to concatenate those with th
Check out this toy example that demonstrates some "strange" behaviour
with keyword arguments and inheritance.
=
class Parent:
def __init__(self, ary = []):
self.ary = ary
def append(self):
self.ary.append(1)
class Child(Parent):
def __
cool .. thanks everyone. here is the aforementioned faq.
http://www.python.org/doc/faq/general/#why-are-default-values-shared-between-objects
On Apr 17, 5:16 am, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> matthewperpick wrote:
> > Check out this toy example that demonstrate