This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pydoc(.org) does not find file.flush()
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ping Nosy List: fdrake, maryniak, ping, tim.peters
Priority: normal Keywords:

Created on 2002-06-26 11:06 by maryniak, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (4)
msg11321 - (view) Author: Eric Maryniak (maryniak) Date: 2002-06-26 11:06
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/
msg11322 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-06-26 14:32
Logged In: YES 
user_id=3066

pydoc is Tim's favorite module.
msg11323 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-06-26 23:17
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
msg11324 - (view) Author: Ka-Ping Yee (ping) * (Python committer) Date: 2002-08-11 12:10
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.
History
Date User Action Args
2022-04-10 16:05:27adminsetgithub: 36799
2002-06-26 11:06:01maryniakcreate