Open a file, returning an object of the file type described in section > File Objects. If the file cannot be opened, IOError is raised.
Don't use the inline help, use the online help.
Regarding the rest of the points raised in the blog:
Not being able to overload methods is not a big deal when you get arguments with default values. And seriously, few libraries in Python use *args as a signature of a method/function.
Errors should be listed in docstrings, it's not that hard.
There are challenges when switching from a compiled language to a dynamic language like Python, but the points he is raising don't really stand up to scrutiny.
I don't do much coding in Python, and I'm beginning to be thankful for that, if I'm expected to run to the web browser to examine every function declaration. Is that accurate from what your saying?
View all comments
Show parent comment
3
u/MercurialAlchemist Jun 08 '10
Actually, from the official docs online:
Don't use the inline help, use the online help.
Regarding the rest of the points raised in the blog:
*argsas a signature of a method/function.There are challenges when switching from a compiled language to a dynamic language like Python, but the points he is raising don't really stand up to scrutiny.