summaryrefslogtreecommitdiff
path: root/_dbus_bindings/module.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-01-09 14:04:49 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-01-09 14:04:49 +0000
commit9ede20248d690d9bb2cb9fba6b75955770930a94 (patch)
tree9c782b0ac3526846d875b4ea8ac91eb628e5393d /_dbus_bindings/module.c
parent336cfd395976627b9c758a48f7ec7db275963bc9 (diff)
downloaddbus-python-9ede20248d690d9bb2cb9fba6b75955770930a94.tar.gz
Don't require a main loop unless async calls, signal connections or exported objects are actually made. (Increases backwards compatibility with Pyrex-dbus-python)
Diffstat (limited to '_dbus_bindings/module.c')
-rw-r--r--_dbus_bindings/module.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/_dbus_bindings/module.c b/_dbus_bindings/module.c
index 12d8228..bbc6173 100644
--- a/_dbus_bindings/module.c
+++ b/_dbus_bindings/module.c
@@ -169,9 +169,10 @@ PyDoc_STRVAR(get_default_main_loop__doc__,
"Return the global default dbus-python main loop wrapper, which is used\n"
"when no main loop wrapper is passed to the Connection constructor.\n"
"\n"
-"If None, there is no default and you must always pass the mainloop\n"
-"parameter to the constructor. This will be the case until\n"
-"set_default_main_loop is called.\n");
+"If None, there is no default and you should always pass the mainloop\n"
+"parameter to the constructor - if you don't, then asynchronous calls,\n"
+"connecting to signals and exporting objects will raise an exception.\n"
+"There is no default until set_default_main_loop is called.\n");
static PyObject *
get_default_main_loop(PyObject *always_null UNUSED,
PyObject *no_args UNUSED)