From 22bbb22d212856c112fb71f852f2f8437816c0ef Mon Sep 17 00:00:00 2001 From: Nick Coghlan <@ncoghlan> Date: Thu, 15 Dec 2011 23:04:23 +1000 Subject: [PATCH] Fix method name in docs --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 8892cdb..b2347c8 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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:: register(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack.