Mason opened this issue on Jul 29, 2005 ยท 8 posts
Mason posted Fri, 29 July 2005 at 2:18 PM
The latest p6 patch pdf has a spelling error. The python function call SetCastShadows is really SetCastsShadows.
SamTherapy posted Fri, 29 July 2005 at 3:09 PM
Yude tihnk thye'd poorf reed evrythnig four speelinge eerors.
Coppula eam se non posit acceptera jocularum.
nruddock posted Fri, 29 July 2005 at 3:25 PM
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2340089
See linked thread.The only way to be sure about what methods and attributes are called, is to get the documentation from the poser module.
Marque posted Fri, 29 July 2005 at 4:14 PM
There's a new patch out? Marque
nruddock posted Fri, 29 July 2005 at 4:44 PM
No, there has been only one service release.
This is only a typo in the documentation (one of a few).
There are some more irritating errors that weren't corrected by SR1 (AFAICT, look through the Python Scripting forum for details).
kuroyume0161 posted Fri, 29 July 2005 at 6:52 PM
Yude tink, hug? When it comes to programming functions (and just about everything else in many programming languages), spelling and case are critical. And the only way to know the spelling and case is through the documentation.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone
nruddock posted Sat, 30 July 2005 at 4:50 AM
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2172183#4
Agreed, but as Python has introspection / reflection then the definitive documentation comes from looking at the names that are actually defined, which is what documentation.py does.In this case of SetCastsShadows, the method name is wrong in the "Method Name" line, but correct in the "Syntax" line.
kuroyume0161 posted Sat, 30 July 2005 at 1:39 PM
Same goes for Java autodocs. It will yield class, member, and method names correct, but comments used for descriptions are up for user error.
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone