In <[email protected]> shaun 
<[email protected]> writes:

> I'm having an issue its my first time using python and i set up a class one 
> of the methods is supposed to return a string but instead returns:

> <bound method Param.returnString of <Param.Param instance at 0x00C
> 389E0>>

It looks like you're referencing the method object itself, instead of
calling it method.  In other words, you've left off the parentheses.

I.e. you're doing something like this:

    print my_object.foo

Instead of this:

    print my_object.foo()

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to