[Python-bugs-list] [ python-Bugs-574057 ] pydoc(.org) does not find file.flush()

noreply@sourceforge.net noreply@sourceforge.net
Sun, 11 Aug 2002 05:10:51 -0700


Bugs item #574057, was opened at 2002-06-26 04:06
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=574057&group_id=5470

Category: Python Library
Group: Python 2.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Eric Maryniak (maryniak)
Assigned to: Ka-Ping Yee (ping)
Summary: pydoc(.org) does not find file.flush()

Initial Comment:
Dear reader(s),

On http://pydoc.org/ a search for 'flush'
(of the builtin File object) does not find it
(I knew Python had to have a C-ish fflush()
 and of course I did find it in the end).

This is strange, because 'class __builtin__.file' does
occur in pydoc, e.g. search on 'open' and it finds:

  http://web.pydoc.org/2.2/__builtin__.html#file

And there flush() is also sitting there:

  http://web.pydoc.org/2.2/__builtin__.html#file-flush

A grateful pydoc(.org) user, kind regards,

Eric
-- 
Eric Maryniak <e.maryniak@pobox.com>
WWW homepage: http://pobox.com/~e.maryniak/


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

>Comment By: Ka-Ping Yee (ping)
Date: 2002-08-11 05:10

Message:
Logged In: YES 
user_id=45338

I fixed this a while ago, but didn't come back here to close the issue.

Searching for "flush" now returns the method of the built-in 'file' object as 
the first hit, as expected.

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

Comment By: Tim Peters (tim_one)
Date: 2002-06-26 16:17

Message:
Logged In: YES 
user_id=31435

Sorry, we've got no connection with pydoc.org, and I have 
no idea how they programmed their search function.  I 
suggest you contact Ping directly:

mailto:ping@lfw.org


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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-06-26 07:32

Message:
Logged In: YES 
user_id=3066

pydoc is Tim's favorite module.

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

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