]> granicus.if.org Git - python/commit
Simplify socket_repr() by using PyUnicode_FromFormat()
authorWalter Dörwald <walter@livinglogic.de>
Tue, 5 Jun 2007 13:41:53 +0000 (13:41 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 5 Jun 2007 13:41:53 +0000 (13:41 +0000)
commita7eb93ec43e0ad18a0c78c93afb85e9cb9fd3f2f
treee5fbd31007c92804408643c48ee3b16d247d6462
parent787b03ba4b023663074a76b473b143d0a2998c3b
Simplify socket_repr() by using PyUnicode_FromFormat()
directly. Add a test that calls socket_repr().
Lib/test/test_socket.py
Modules/socketmodule.c