Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python': 0.09; 'identifier,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tarball': 0.09; 'subject:python': 0.11; 'library': 0.15; 'command)': 0.16; 'fine.': 0.16; 'finney': 0.16; 'keyword,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'remains,': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'doc': 0.22; "python's": 0.23; 'installed': 0.23; 'command': 0.24; 'header:User-Agent:1': 0.26; 'wonder': 0.27; 'question': 0.27; 'module.': 0.27; 'header:X-Complaints- To:1': 0.28; 'fine': 0.28; 'writes:': 0.29; 'maybe': 0.29; 'that.': 0.30; 'fri,': 0.30; 'expect': 0.31; 'running': 0.32; 'to:addr:python-list': 0.33; 'ben': 0.35; 'built-in': 0.35; 'subject:?': 0.35; 'something': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'operating': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; '+1100': 0.84; '2013': 0.84; 'received:sd.cox.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: rh Subject: Re: why no pydoc python? Date: Thu, 31 Jan 2013 19:39:26 -0800 References: <20130131145738.01cbd61ba1b671a797e8d951@lavabit.com> <7wr4l0yefh.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: ip68-227-87-145.sb.sd.cox.net User-Agent: dsodnetnin X-Mailer: EZnn0.37p X-Newsreader: EZnn0.37p X-Gmane-NNTP-Posting-Host: EZnn0.37p Original-Received: from slem by 1.1 with local X-No-Archive: yes Archive: no X-Archive: expiry=11 X-Archive: encrypt X-Operating-System: Barebones_6.1 X-Gmane-NNTP-Posting-Host: 192.168.1.1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359689980 news.xs4all.nl 6889 [2001:888:2000:d::a6]:53079 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38023 On Fri, 01 Feb 2013 13:07:46 +1100 Ben Finney wrote: > rh writes: > > > I installed python from tarball and I wonder if I did something > > wrong. pydoc pydoc works fine but there's no pydoc python. > > What would you expect ‘pydoc python’ to show? The word “python” is > not a keyword, is not a built-in identifier, is not a standard > library module. The same as what's in the man page'd be fine. > > > There is a man page for python. Maybe there is no python doc for > > pydoc? > > There is a man page for the command ‘python’ because it's a command > that can be invoked from the operating system shell. Python's > documentation (accessed with the ‘pydoc’ command) is not the place to > document that. pydoc can be invoked from the operating system shell. Also with no python pydoc then there's no python doc when running pydoc -p 2000 So the question remains, why not?