summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-09-15 18:46:26 +0000
committerSimon McVittie <smcv@collabora.com>2021-09-15 18:46:26 +0000
commita86f2e282326f95529df0455cfa72ba91134ed91 (patch)
treec083082c3f3eb3067691f2ca8402b69133b2c421
parente9c3702079f13c06ab615596cfc5a2c1207db8fd (diff)
parent7628ca0e34db0ad4d5570bec6668ce1184aa99c2 (diff)
downloaddbus-python-a86f2e282326f95529df0455cfa72ba91134ed91.tar.gz
Merge branch 'fix-40' into 'master'
Fix invalid escape sequence warnings Closes #40 See merge request dbus/dbus-python!14
-rw-r--r--dbus/connection.py2
-rw-r--r--dbus/proxies.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbus/connection.py b/dbus/connection.py
index daabfc2..fd20800 100644
--- a/dbus/connection.py
+++ b/dbus/connection.py
@@ -378,7 +378,7 @@ class Connection(_Connection):
this name.
`arg...` : unicode or UTF-8 str
If there are additional keyword parameters of the form
- ``arg``\ *n*, match only signals where the *n*\ th argument
+ ``arg``\\ *n*, match only signals where the *n*\\ th argument
is the value given for that keyword parameter. As of this
time only string arguments can be matched (in particular,
object paths and signatures can't).
diff --git a/dbus/proxies.py b/dbus/proxies.py
index 8489294..487976c 100644
--- a/dbus/proxies.py
+++ b/dbus/proxies.py
@@ -357,7 +357,7 @@ class ProxyObject(object):
this name.
`arg...` : unicode or UTF-8 str
If there are additional keyword parameters of the form
- ``arg``\ *n*, match only signals where the *n*\ th argument
+ ``arg``\\ *n*, match only signals where the *n*\\ th argument
is the value given for that keyword parameter. As of this time
only string arguments can be matched (in particular,
object paths and signatures can't).