On 08/11/2011 09:49 AM, Gelonida N wrote:

>> Always a good idea to either check the source when you have it ... or at the 
>> very least use pydoc ...
>>
> 
> In fact I used pydoc, but unfortunately I used it in the wrong window
> (with my distros version of pylint which is only pylint 0.19.0)
> 
> 

Inoticed, that if one is using virtualenv, one has to pay attention when
using pydoc. Even if one runs pydoc in a virtualenv window one will get
the wrong documentation.

Pydoc will produce documentation for the packages of the default Python
installation and not  documentation from the virtualenv's Python
installation.

A tiny fix for bash users is:

alias pydoc='python `which pydoc`'

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to