Previous: , Up: More About Types in Python   [Contents][Index]


5.2.11 Type Style Recommendations

Python provides good support for some currently unconventional ways of using the Common Lisp type system. With Python, it is desirable to make declarations as precise as possible, but type inference also makes some declarations unnecessary. Here are some general guidelines for maximum robustness and efficiency:


Previous: Type Restrictions, Up: More About Types in Python   [Contents][Index]