socket _fileobjectfrom sockets to file-like objects ( /much code for bufferingdoctest doctestsuiteadapts doctest tests to unittest testsuite dbhashadapt bsddb to dbm stringioadapt str or unicode to file-like shelveadapt "limited dict(str keys and valuesbasic methodsto complete mapping via pickle for any string userdict dictmixin