From: Fernando P. <Fer...@co...> - 2005-05-17 19:17:05
|
Derrick Snowden wrote: > You're probably right about this, months are ambiguously defined. But, > I'm even more confused now about the documentation that you found. I'm > hoping this is a version issue but I couldn't find a function > definition like that. I tried using pydoc and pdoc, pdef, pinfo etc in > ipython on a linux machine as well as a Windows machine. The only thing > I can come up with is the following > > > class timedelta(__builtin__.object) > Difference between two datetime values. > > Where am I going wrong? I ran into the same problem, the docstring-based docs for that module are really crappy (and that's all ipython can find). So I reverted to the module listing in the HTML python docs to read the full docs for the datetime module. Here's the online version (what I pasted was from the local copy for my version, 2.3.4): http://docs.python.org/lib/module-datetime.html HTH, f |