Chris Rebert wrote:
Shouldn't meta= instead be metaclass= ?
Xavier Ho wrote:
> I think you need to have metaclass in the class statement, not just meta.
Argh. Thank you both. I'm glad it was simple!
~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list
Actually, scrape what I said.
I think you need to have metaclass in the class statement, not just meta.
-Xav
On 31 August 2010 00:16, Xavier Ho wrote:
> Ethan, are you trying to write the constructor in the class statement?
>
> Cheers,
> Xav
>
>
> On 31 August 2010 00:10, Ethan Furman wrote:
Ethan, are you trying to write the constructor in the class statement?
Cheers,
Xav
On 31 August 2010 00:10, Ethan Furman wrote:
> Good Day!
>
> I am stuck... hopefully a few fresh pairs of eyes will spot what I am
> missing.
>
> I have a metaclass, Traits, and two different testing files, test_
On Mon, Aug 30, 2010 at 7:10 AM, Ethan Furman wrote:
> Good Day!
>
> I am stuck... hopefully a few fresh pairs of eyes will spot what I am
> missing.
>
> I have a metaclass, Traits, and two different testing files, test_traits.py
> and tests.py. test_traits works fine, tests generates the followi