Alex Hall wrote:

> class Test(object):
>  def __init__(self, name, paths=[]):

https://docs.python.org/2/faq/programming.html#why-are-default-values-shared-between-objects



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to