summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-12-17 07:50:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-12 12:46:16 -0400
commitc7e393b3ca58013b2afcd02620c64c6fe66d21f4 (patch)
tree1640a25456803db24c5f7bf59ad7911bf94deba4
parent14b05bfff57feed1f20e6b562bed188bc08252dc (diff)
downloadpython-systemd-c7e393b3ca58013b2afcd02620c64c6fe66d21f4.tar.gz
journal: improve docstring formatting a bit
-rw-r--r--systemd/journal.py8
1 files 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.