diff options
author | Guido van Rossum <guido@python.org> | 2002-08-08 15:16:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-08 15:16:20 (GMT) |
commit | c18993f84a965fb77cedd89a687beccafa9c496e (patch) | |
tree | 76b4c56a295ff0015adf1b705b6b295952a314a1 /Mac/scripts | |
parent | 824574d3d4c4749e21c0d9b093f688934f38699a (diff) | |
download | cpython-c18993f84a965fb77cedd89a687beccafa9c496e.zip cpython-c18993f84a965fb77cedd89a687beccafa9c496e.tar.gz cpython-c18993f84a965fb77cedd89a687beccafa9c496e.tar.bz2 |
Another refactoring. Changed 'socket' from being a factory function
to being a new-style class, to be more similar to the socket class
in the _socket module; it is now the same as the _socketobject class.
Added __slots__. Added docstrings, copied from the real socket class
where possible.
The _fileobject class is now also a new-style class with __slots__
(though without docstrings). The mode, name, softspace, bufsize and
closed attributes are properly supported (closed as a property; name
as a class attributes; the softspace, mode and bufsize as slots).
Diffstat (limited to 'Mac/scripts')
0 files changed, 0 insertions, 0 deletions