New submission from INADA Naoki:

http://docs.python.org/3.3/library/socket.html#socket.getaddrinfo

> Changed in version 3.2: parameters can now be passed as single keyword 
> arguments.

What *single* means?
I can use multiple keyword arguments:

In [3]: socket.getaddrinfo('www.python.org', 80, proto=socket.SOL_TCP, 
family=socket.AF_INET)
Out[3]:
[(<AddressFamily.AF_INET: 2>,
  <SocketType.SOCK_STREAM: 1>,
  6,
  '',
  ('82.94.164.162', 80))]

----------
assignee: docs@python
components: Documentation
messages: 210078
nosy: docs@python, naoki
priority: normal
severity: normal
status: open
title: Unclear word in socket document.
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20497>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to