summaryrefslogtreecommitdiff
path: root/docs/reference/pyglib-maincontext.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/pyglib-maincontext.xml')
-rw-r--r--docs/reference/pyglib-maincontext.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/reference/pyglib-maincontext.xml b/docs/reference/pyglib-maincontext.xml
index ccb91bb..ee1e985 100644
--- a/docs/reference/pyglib-maincontext.xml
+++ b/docs/reference/pyglib-maincontext.xml
@@ -91,12 +91,12 @@ object.</para>
<variablelist>
<varlistentry>
<term><parameter>may_block</parameter>&nbsp;:</term>
- <listitem><simpara>if <literal>TRUE</literal> the call may block
+ <listitem><simpara>if <literal>True</literal> the call may block
waiting for an event.</simpara></listitem>
</varlistentry>
<varlistentry>
<term><emphasis>Returns</emphasis>&nbsp;:</term>
- <listitem><simpara><literal>TRUE</literal> if events were
+ <listitem><simpara><literal>True</literal> if events were
dispatched.</simpara></listitem>
</varlistentry>
</variablelist>
@@ -111,7 +111,7 @@ to be processed;</simpara>
</listitem>
<listitem>
<simpara>then if no events sources are ready and
-<parameter>may_block</parameter> is <literal>TRUE</literal>, waiting for a
+<parameter>may_block</parameter> is <literal>True</literal>, waiting for a
source to become ready;</simpara>
</listitem>
<listitem>
@@ -121,8 +121,8 @@ sources that are ready</simpara>
</itemizedlist>
<para>Note that even when <parameter>may_block</parameter> is
-<literal>TRUE</literal>, it is still possible for
-<methodname>iteration</methodname>() to return <literal>FALSE</literal>,
+<literal>True</literal>, it is still possible for
+<methodname>iteration</methodname>() to return <literal>False</literal>,
since the the wait may be interrupted for other reasons than an event source
becoming ready.</para>
@@ -137,7 +137,7 @@ becoming ready.</para>
<variablelist>
<varlistentry>
<term><emphasis>Returns</emphasis>&nbsp;:</term>
- <listitem><simpara><literal>TRUE</literal> if events are
+ <listitem><simpara><literal>True</literal> if events are
pending.</simpara></listitem>
</varlistentry>
</variablelist>