Hi,

I am stuck while look into source code of Django's lazy decorator. At
line 205 of functinal.py, there is:

 def __unicode_cast(self):
            return self.__func(*self.__args, **self.__kw)

 def __str_cast(self):
            return str(self.__func(*self.__args, **self.__kw))

Why doesn't __unicode_cast function need to call *unicode* on
*self.__func(...)* like what __str_cast does,call *str* function?

Any help is appreciated.

Kevin Xiao

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to