From c7e393b3ca58013b2afcd02620c64c6fe66d21f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 17 Dec 2016 07:50:24 -0500 Subject: journal: improve docstring formatting a bit --- systemd/journal.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/systemd/journal.py b/systemd/journal.py index 30d1f39..93f8044 100644 --- a/systemd/journal.py +++ b/systemd/journal.py @@ -226,8 +226,8 @@ class Reader(_Reader): def add_match(self, *args, **kwargs): """Add one or more matches to the filter journal log entries. - All matches of different field are combined in a logical AND, and - matches of the same field are automatically combined in a logical OR. + All matches of different field are combined with logical AND, and + matches of the same field are automatically combined with logical OR. Matches can be passed as strings of form "FIELD=value", or keyword arguments FIELD="value". """ @@ -242,7 +242,7 @@ class Reader(_Reader): Entries will be processed with converters specified during Reader creation. - Optional skip value will return the `skip`-th log entry. + Optional `skip` value will return the `skip`-th log entry. Currently a standard dictionary of fields is returned, but in the future this might be changed to a different mapping type, so the @@ -262,7 +262,7 @@ class Reader(_Reader): Equivalent to get_next(-skip). - Optional skip value will return the -`skip`-th log entry. + Optional `skip` value will return the -`skip`-th log entry. Entries will be processed with converters specified during Reader creation. -- cgit v1.2.1