Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c21ab0

Browse files
committed
Issue #27744: correct comment and markup
1 parent 25bfcd5 commit 8c21ab0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/socket.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ created. Socket addresses are represented as follows:
136136
elements ``(type, name [, feat [, mask]])``, where:
137137

138138
- *type* is the algorithm type as string, e.g. ``aead``, ``hash``,
139-
``skcipher`` or ``rng``.
139+
``skcipher`` or ``rng``.
140140

141141
- *name* is the algorithm name and operation mode as string, e.g.
142142
``sha256``, ``hmac(sha256)``, ``cbc(aes)`` or ``drbg_nopr_ctr_aes256``.

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,7 @@ sock_setsockopt(PySocketSockObject *s, PyObject *args)
25562556
}
25572557

25582558
PyErr_Clear();
2559-
/* setsockopt(level, opt, (None, flag)) */
2559+
/* setsockopt(level, opt, None, flag) */
25602560
if (PyArg_ParseTuple(args, "iiO!I:setsockopt",
25612561
&level, &optname, Py_TYPE(Py_None), &none, &optlen)) {
25622562
assert(sizeof(socklen_t) >= sizeof(unsigned int));

0 commit comments

Comments
 (0)