diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
commit | 6d57fe1c23430d0d51de243a177670b76c37dab5 (patch) | |
tree | 8625e5f5e0b9e9f7a7bc02928757772e052f6886 /Modules/socketmodule.c | |
parent | 4a72a7b6c4c95f7613486f0e4e20a3d4815a16c5 (diff) | |
download | cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.zip cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.gz cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.bz2 |
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index d059617..3e1a460 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -1967,12 +1967,13 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret) return 1; } #endif /* AF_UNIX */ + #if defined(AF_NETLINK) - case AF_NETLINK: - { - *len_ret = sizeof (struct sockaddr_nl); - return 1; - } + case AF_NETLINK: + { + *len_ret = sizeof (struct sockaddr_nl); + return 1; + } #endif #ifdef AF_RDS |