Merge pull request #1 from alfredodeza/297

add ref targets on recwarn
This commit is contained in:
holger krekel 2013-06-03 07:13:04 -07:00
commit 7e2d4daa68
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
------------------------------------------------------- -------------------------------------------------------