From ea8e70593987570b29608369abe9726de12d2ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 11 Mar 2017 20:47:37 +0200 Subject: Python 3.6 invalid escape sequence deprecation fixes (#43) https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior --- systemd/journal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'systemd') diff --git a/systemd/journal.py b/systemd/journal.py index e9f714e..cd83377 100644 --- a/systemd/journal.py +++ b/systemd/journal.py @@ -236,7 +236,7 @@ class Reader(_Reader): super(Reader, self).add_match(arg) def get_next(self, skip=1): - """Return the next log entry as a dictionary. + r"""Return the next log entry as a dictionary. Entries will be processed with converters specified during Reader creation. @@ -257,7 +257,7 @@ class Reader(_Reader): return dict() def get_previous(self, skip=1): - """Return the previous log entry. + r"""Return the previous log entry. Equivalent to get_next(-skip). -- cgit v1.2.1