Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Fred Drake
132dce2246
Update the code to better reflect recommended style:
...
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Fred Drake
def003845b
Convert some old-style string exceptions to class exceptions.
2000-08-18 14:59:33 +00:00
Sjoerd Mullender
992ff06e98
Made play method more robust by adding a try-finally.
1995-02-01 14:24:32 +00:00
Guido van Rossum
7bc817d5ba
* Mass change: get rid of all init() methods, in favor of __init__()
...
constructors. There is no backward compatibility. Not everything has
been tested.
* aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as
comments)
1993-12-17 15:25:27 +00:00
Sjoerd Mullender
b2e358d433
Use __init__ instead of init.
...
Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py.
1993-11-08 15:10:43 +00:00
Guido van Rossum
d316607732
* 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
1993-05-24 14:16:22 +00:00
Sjoerd Mullender
04321d1e47
Use type(xxx) in stead of except TypeError.
1993-03-29 10:50:29 +00:00
Guido van Rossum
ada67ec3e1
Comment out debug prints (by Sjoerd)
1992-06-03 16:47:24 +00:00
Guido van Rossum
a3cd071e4c
DISK is written with a K
1992-04-23 11:34:39 +00:00
Guido van Rossum
58230c3a05
Changed caching code
1992-04-22 14:33:26 +00:00
Guido van Rossum
dee5d8eb04
The getstatus() method of a Readcd instance always calls
...
self.player.getstatus().
1992-04-22 13:44:48 +00:00
Guido van Rossum
f94e309321
Initial revision
1992-04-22 13:24:13 +00:00