Hi Lee,
when using properties in pydev, it marks the method as an error, saying that
> it should start with self as first parameter:
>
> class AppConfig(object):
> @apply
> def type():
> <<---this is where
> it wants to see self as fi
(going slightly off topic, but may be relevant to elicitate the problem)
I haven't heard of (and couldn't find after a few minutes of googling
the "@apply" as built-in decorator in python? (but then I haven't used
py2.5 much...)
I know about propertyName = property(get,set)
and about the @P
when using properties in pydev, it marks the method as an error, saying that it
should start with self as first parameter:
class AppConfig(object):
@apply
def type():
<<---this is where it
wants to see self as first parameter, how