[issue20497] Unclear word in socket document.

INADA Naoki report at bugs.python.org
Mon Feb 3 07:19:42 CET 2014


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 at python
components: Documentation
messages: 210078
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue20497>
_______________________________________


More information about the Python-bugs-list mailing list