1 files changed, 2 insertions, 2 deletions
diff --git a/develop/print.html b/develop/print.html
index 1103df6b4f..28953b822d 100644
--- a/develop/print.html
+++ b/develop/print.html
@@ -12151,7 +12151,7 @@ and add it to each log record.</p>
<p>Logcontexts are also used for CPU and database accounting, so that we
can track which requests were responsible for high CPU use or database
activity.</p>
-<p>The <code>synapse.logging.context</code> module provides a facilities for managing
+<p>The <code>synapse.logging.context</code> module provides facilities for managing
the current log context (as well as providing the <code>LoggingContextFilter</code>
class).</p>
<p>Asynchronous functions make the whole thing complicated, so this document describes
@@ -12428,7 +12428,7 @@ and the awaitable chain is now orphaned, and will be garbage-collected at
some point. Note that <code>await_something_interesting</code> is a coroutine,
which Python implements as a generator function. When Python
garbage-collects generator functions, it gives them a chance to
-clean up by making the <code>async</code> (or <code>yield</code>) raise a <code>GeneratorExit</code>
+clean up by making the <code>await</code> (or <code>yield</code>) raise a <code>GeneratorExit</code>
exception. In our case, that means that the <code>__exit__</code> handler of
<code>PreserveLoggingContext</code> will carefully restore the request context, but
there is now nothing waiting for its return, so the request context is
|