Fix method name in docs

This commit is contained in:
Nick Coghlan 2011-12-15 23:04:23 +10:00
parent 3fbd301c64
commit 22bbb22d21

View file

@ -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.