A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-July/028021.html below:

[Python-checkins] python/dist/src/Lib/hotshot __init__.py,1.4,1.5

[Python-checkins] python/dist/src/Lib/hotshot __init__.py,1.4,1.5fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Thu, 18 Jul 2002 12:17:56 -0700
Update of /cvsroot/python/python/dist/src/Lib/hotshot
In directory usw-pr-cvs1:/tmp/cvs-serv32508

Modified Files:
	__init__.py 
Log Message:
Expose the fileno() method of the underlying profiler.


Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/hotshot/__init__.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** __init__.py	16 Apr 2002 19:27:23 -0000	1.4
--- __init__.py	18 Jul 2002 19:17:54 -0000	1.5
***************
*** 26,29 ****
--- 26,33 ----
          self._prof.close()
  
+     def fileno(self):
+         """Return the file descriptor of the profiler's log file."""
+         return self._prof.fileno()
+ 
      def start(self):
          """Start the profiler."""






RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4