[Python-bugs-list] [ python-Bugs-715782 ] pydoc support for keywords

SourceForge.net noreply@sourceforge.net
Thu, 24 Apr 2003 07:29:24 -0700


Bugs item #715782, was opened at 2003-04-05 06:36
Message generated for change (Comment added) made by tim_one
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=715782&group_id=5470

Category: Documentation
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
>Assigned to: Nobody/Anonymous (nobody)
Summary: pydoc support for keywords

Initial Comment:
[ from http://bugs.debian.org/186775 ]

If one uses $ man perl
one gets on a path that can lead one to eventually find
docs for the
most basic commands like 'while'

However for python one sees one is to use pydoc. But
running pydoc,
one just sees
  pydoc - the Python documentation tool

  /usr/bin/pydoc <name> ...

etc. no hint about how to learn about basics like 'while'.

BTW, I wish it would say pydoc, not /usr/bin/pydoc


----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2003-04-24 10:29

Message:
Logged In: YES 
user_id=31435

Unassigned (I can't make time for this).

----------------------------------------------------------------------

Comment By: Douglas Napoleone (derivin)
Date: 2003-04-19 00:06

Message:
Logged In: YES 
user_id=541557

Could you please include the OS, install, distro for python?

the distrobution from ActiveState has a very detailed 
manpage on linux. The cygwin distrobution (currently 
hosted/maintained by RedHat) has a poor man page (similar 
yet different from your example).

To be honest, I thought there was only a GNU info page, a 
quick find of the source tree didnt turn anything up, (but Im 
building on windows).


----------------------------------------------------------------------

Comment By: Cherniavsky Beni (cben)
Date: 2003-04-06 04:33

Message:
Logged In: YES 
user_id=36166

It should suggest to run ``python`` and type ``help()``. 
Then one can type ``topics`` and access the language
documentation itself, e.g. ``LOOPING`` would tell one that
there is a ``while`` whose specific documentation is
accessible by typing the ``while`` keyword itself.  Also
some sentences about the usefulness of the Python prompt,
`dir()` and `help()` for learning might be in order...

BTW, it would be more consistent if pydoc would support the
special topics from the command line (it would require a
non-ambiguos option to avoid shadowing modules in current
directoy that happen to have one of the special name)...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=715782&group_id=5470