adding ref targets on recwarn

This commit is contained in:
Alfredo Deza 2013-06-03 10:07:14 -04:00
parent da1996b5f5
commit 0cfc4a49ea
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,8 @@
Asserting deprecation and other warnings Asserting deprecation and other warnings
===================================================== =====================================================
.. _function_argument:
The recwarn function argument The recwarn function argument
------------------------------------ ------------------------------------
@ -24,6 +26,9 @@ The ``recwarn`` function argument provides these methods:
* ``pop(category=None)``: return last warning matching the category. * ``pop(category=None)``: return last warning matching the category.
* ``clear()``: clear list of warnings * ``clear()``: clear list of warnings
.. _ensuring_function_triggers:
Ensuring a function triggers a deprecation warning Ensuring a function triggers a deprecation warning
------------------------------------------------------- -------------------------------------------------------