[Python-Dev] AC Derby and accepting None for optional positional arguments (original) (raw)

Ryan Smith-Roberts rmsr at lab.net
Thu Jan 16 05:35:36 CET 2014


On Wed, Jan 15, 2014 at 7:57 PM, Ryan Smith-Roberts <rmsr at lab.net> wrote:

socket.getservbyname(servicename[, protocolname]) -> socket.getservbyname(servicename, protocolname=None)

Here is a more complicated example, since the above does technically have an alternative fix:

sockobj.sendmsg(buffers[, ancdata[, flags[, address]]]) -> sockobj.sendmsg(buffers, ancdata=None, flags=0, address=None) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140115/95ea0b4b/attachment.html>



More information about the Python-Dev mailing list