Always use parentheses when documenting a method with no arguments.

This commit is contained in:
Baptiste Mispelon 2014-01-22 22:26:10 +01:00
parent 79e1d6ebd7
commit 05d36dc06e
11 changed files with 36 additions and 36 deletions

View file

@ -1036,7 +1036,7 @@ If ``multi_db=True``, fixtures are loaded into all databases.
Overriding settings
~~~~~~~~~~~~~~~~~~~
.. method:: SimpleTestCase.settings
.. method:: SimpleTestCase.settings()
For testing purposes it's often useful to change a setting temporarily and
revert to the original value after running the testing code. For this use case
@ -1061,7 +1061,7 @@ Django provides a standard Python context manager (see :pep:`343`) called
This example will override the :setting:`LOGIN_URL` setting for the code
in the ``with`` block and reset its value to the previous state afterwards.
.. method:: SimpleTestCase.modify_settings
.. method:: SimpleTestCase.modify_settings()
.. versionadded:: 1.7