diff options
author | Guido van Rossum <guido@python.org> | 1998-12-22 13:50:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-22 13:50:33 (GMT) |
commit | 7ea1d972d1519ac8cb8051ff0e99d02e9ef71251 (patch) | |
tree | 55317bb06946ba95640e4cbe97588f9cf743f045 /Lib/dos-8x3/userlist.py | |
parent | fdd302820ec8f8af0baa3e58a2795d00f14dffcb (diff) | |
download | cpython-7ea1d972d1519ac8cb8051ff0e99d02e9ef71251.zip cpython-7ea1d972d1519ac8cb8051ff0e99d02e9ef71251.tar.gz cpython-7ea1d972d1519ac8cb8051ff0e99d02e9ef71251.tar.bz2 |
The usual.
# Message to all python-checkins readers: we have a problem with the
# CVS mirroring software. You can't check out the latest changes yet.
# We hope to have fixed this by noon EST today.
Diffstat (limited to 'Lib/dos-8x3/userlist.py')
-rwxr-xr-x | Lib/dos-8x3/userlist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos-8x3/userlist.py b/Lib/dos-8x3/userlist.py index 5dfd182..1d5065f 100755 --- a/Lib/dos-8x3/userlist.py +++ b/Lib/dos-8x3/userlist.py @@ -19,7 +19,7 @@ class UserList: def __setitem__(self, i, item): self.data[i] = item def __delitem__(self, i): del self.data[i] def __getslice__(self, i, j): - userlist = UserList() + userlist = self.__class__() userlist.data[:] = self.data[i:j] return userlist def __setslice__(self, i, j, list): |