Skip to content

Instantly share code, notes, and snippets.

View kwirk's full-sized avatar

Steven Hiscocks kwirk

  • Wiltshire, England, United Kingdom
View GitHub Profile
@kwirk
kwirk / gist:5382783
Last active December 16, 2015 05:09
python-systemd tweaks
diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c
index a49527f..a4568a8 100644
--- a/src/python-systemd/_reader.c
+++ b/src/python-systemd/_reader.c
@@ -260,6 +260,21 @@ static PyObject* Reader_next(Reader *self, PyObject *args)
return PyBool_FromLong(r);
}
+PyDoc_STRVAR(Reader_previous__doc__,
+ "previous([skip]) -> bool\n\n"