From 3fbd301c649aaac1ebed82e835b711d959549bf2 Mon Sep 17 00:00:00 2001 From: Nick Coghlan <@ncoghlan> Date: Thu, 15 Dec 2011 23:03:23 +1000 Subject: [PATCH] Remove unnecessary colons --- docs/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 99e5084..8892cdb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -216,7 +216,7 @@ API Reference an exception, then outer callbacks will be passed arguments based on that updated state. - .. method:: enter_context(cm): + .. method:: enter_context(cm) Enters a new context manager and adds its :meth:`__exit__` method to the callback stack. The return value is the result of the context @@ -225,7 +225,7 @@ API Reference These context managers may suppress exceptions just as they normally would if used directly as part of a ``with`` statement. - .. method:: register_exit(callback): + .. method:: register_exit(callback) Directly accepts a callback with the same signature as a context manager's :meth:`__exit__` method and adds it to the callback @@ -234,7 +234,7 @@ API Reference By returning true values, these callbacks can suppress exceptions the same way context manager :meth:`__exit__` methods can. - .. method:: push_callback(callback, *args, **kwds): + .. method:: push_callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack.