[Python-checkins] cpython: Issue #27744: correct comment and markup

christian.heimes python-checkins at python.org
Mon Sep 5 18:07:08 EDT 2016


https://hg.python.org/cpython/rev/52404f9596b5
changeset: 103074:52404f9596b5
user: Christian Heimes <christian at python.org>
date: Tue Sep 06 00:07:02 2016 +0200
summary:
 Issue #27744: correct comment and markup
files:
 Doc/library/socket.rst | 2 +-
 Modules/socketmodule.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -136,7 +136,7 @@
 elements ``(type, name [, feat [, mask]])``, where:
 
 - *type* is the algorithm type as string, e.g. ``aead``, ``hash``,
- ``skcipher`` or ``rng``.
+ ``skcipher`` or ``rng``.
 
 - *name* is the algorithm name and operation mode as string, e.g.
 ``sha256``, ``hmac(sha256)``, ``cbc(aes)`` or ``drbg_nopr_ctr_aes256``.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2556,7 +2556,7 @@
 }
 
 PyErr_Clear();
- /* setsockopt(level, opt, (None, flag)) */
+ /* setsockopt(level, opt, None, flag) */
 if (PyArg_ParseTuple(args, "iiO!I:setsockopt",
 &level, &optname, Py_TYPE(Py_None), &none, &optlen)) {
 assert(sizeof(socklen_t) >= sizeof(unsigned int));
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /