* ftplib.py: added abort() command (sends oob data).

* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found
This commit is contained in:
Guido van Rossum 1993-05-24 14:16:22 +00:00
parent b3f7258f14
commit d316607732
15 changed files with 127 additions and 35 deletions

View file

@ -12,7 +12,7 @@ import string
import fpformat
import marshal
class Profile():
class Profile:
def init(self):
self.timings = {}
@ -212,7 +212,7 @@ def depth(frame):
frame = frame.f_back
return d
class Stats():
class Stats:
def init(self, file):
f = open(file, 'r')
self.stats = marshal.load(f)