From f56b079086cb35e50697a4752b38679ae5e44679 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 21 May 2012 05:00:20 +0200 Subject: [PATCH] python: Fixed some docstring typos. --- python/ashd/__init__.py | 2 +- python/ashd/proto.py | 4 ++-- python3/ashd/__init__.py | 2 +- python3/ashd/proto.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/ashd/__init__.py b/python/ashd/__init__.py index c918ad6..eea633c 100644 --- a/python/ashd/__init__.py +++ b/python/ashd/__init__.py @@ -1,4 +1,4 @@ -"""Base module for ashd(7)-related fucntions. +"""Base module for ashd(7)-related functions. This module implements nothing. Please see the ashd.util or ashd.proto modules. diff --git a/python/ashd/proto.py b/python/ashd/proto.py index 4a48304..8dc5ecd 100644 --- a/python/ashd/proto.py +++ b/python/ashd/proto.py @@ -119,8 +119,8 @@ def recvreq(sock = 0): done, to avoid leaking response sockets. If end-of-file is received on the socket, None is returned. - This function may either raise on OSError if an error occurs on - the socket, or a ashd.proto.protoerr if the incoming request is + This function may either raise an OSError if an error occurs on + the socket, or an ashd.proto.protoerr if the incoming request is invalidly encoded. """ data, fd = htlib.recvfd(sock) diff --git a/python3/ashd/__init__.py b/python3/ashd/__init__.py index c918ad6..eea633c 100644 --- a/python3/ashd/__init__.py +++ b/python3/ashd/__init__.py @@ -1,4 +1,4 @@ -"""Base module for ashd(7)-related fucntions. +"""Base module for ashd(7)-related functions. This module implements nothing. Please see the ashd.util or ashd.proto modules. diff --git a/python3/ashd/proto.py b/python3/ashd/proto.py index e695751..7a078de 100644 --- a/python3/ashd/proto.py +++ b/python3/ashd/proto.py @@ -138,8 +138,8 @@ def recvreq(sock = 0): done, to avoid leaking response sockets. If end-of-file is received on the socket, None is returned. - This function may either raise on OSError if an error occurs on - the socket, or a ashd.proto.protoerr if the incoming request is + This function may either raise an OSError if an error occurs on + the socket, or an ashd.proto.protoerr if the incoming request is invalidly encoded. """ data, fd = htlib.recvfd(sock) -- 2.11.0