diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-10-03 19:01:43 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-10-03 19:01:43 (GMT) |
commit | b62814998ab0a1dd16830eaaa4e6e6d8618872e1 (patch) | |
tree | 081825b8fefd789ea708dba3ef4943daa718ae64 /PCbuild | |
parent | 51794455208e182f5f2e3ca1174b1361c46f8e04 (diff) | |
download | cpython-b62814998ab0a1dd16830eaaa4e6e6d8618872e1.zip cpython-b62814998ab0a1dd16830eaaa4e6e6d8618872e1.tar.gz cpython-b62814998ab0a1dd16830eaaa4e6e6d8618872e1.tar.bz2 |
Provide a more readable representation of socket on repr().
Before:
<socket.socket fd=3, family=2, type=1, proto=0, laddr=('0.0.0.0', 0)>
Now:
<socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>
Diffstat (limited to 'PCbuild')
0 files changed, 0 insertions, 0 deletions