Menu

#58 sphere.name or sphere.constr

inconsistency
open
nobody
primitives (23)
5
2002-07-14
2002-07-14
No

Reported by Gregor Lingl:

s = sphere()
print dir(s) # shows "constr" and "name"
print s.name # AttributeError
print s.constr # AttributeError

Presumably Visual is either reporting attributes
incorrectly to dir(), or isn't handling them correctly. I
don't think these attributes are documented.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.