summaryrefslogtreecommitdiff
path: root/Python/future.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-08 15:16:20 +0000
committerGuido van Rossum <guido@python.org>2002-08-08 15:16:20 +0000
commitc18993f84a965fb77cedd89a687beccafa9c496e (patch)
tree76b4c56a295ff0015adf1b705b6b295952a314a1 /Python/future.c
parent824574d3d4c4749e21c0d9b093f688934f38699a (diff)
downloadcpython-git-c18993f84a965fb77cedd89a687beccafa9c496e.tar.gz
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 'Python/future.c')
0 files changed, 0 insertions, 0 deletions