Remove dots in \version{changed,added} argument and
correct argument order.
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 6c700a7..cc7bd75 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -68,8 +68,8 @@
configuration. For deterministic behavior use a numeric address in
\var{host} portion.
-\versionadded[2.5]{AF_NETLINK sockets are represented as
-pairs \code{\var{pid}, \var{groups}}}
+\versionadded[AF_NETLINK sockets are represented as
+pairs \code{\var{pid}, \var{groups}}]{2.5}
All errors raise exceptions. The normal exceptions for invalid
argument types and out-of-memory conditions can be raised; errors