diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-22 22:17:32 +0100 |
| commit | 79e1d6ebd70898d514a44b85648e3d24104c4243 (patch) | |
| tree | 68e29f7043e270c4716f7fc8a3c53ae6ba92bf0f /docs/howto/error-reporting.txt | |
| parent | 5f9790072d52443aff9a0e04f1552f1e29489521 (diff) | |
Don't show `self` in the list of arguments of a method.
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855.
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 54de19cef7..861b74edf7 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -250,24 +250,24 @@ following methods: .. class:: SafeExceptionReporterFilter -.. method:: SafeExceptionReporterFilter.is_active(self, request) +.. method:: SafeExceptionReporterFilter.is_active(request) Returns ``True`` to activate the filtering operated in the other methods. By default the filter is active if :setting:`DEBUG` is ``False``. -.. method:: SafeExceptionReporterFilter.get_request_repr(self, request) +.. method:: SafeExceptionReporterFilter.get_request_repr(request) Returns the representation string of the request object, that is, the value that would be returned by ``repr(request)``, except it uses the filtered dictionary of POST parameters as determined by :meth:`SafeExceptionReporterFilter.get_post_parameters`. -.. method:: SafeExceptionReporterFilter.get_post_parameters(self, request) +.. method:: SafeExceptionReporterFilter.get_post_parameters(request) Returns the filtered dictionary of POST parameters. By default it replaces the values of sensitive parameters with stars (`**********`). -.. method:: SafeExceptionReporterFilter.get_traceback_frame_variables(self, request, tb_frame) +.. method:: SafeExceptionReporterFilter.get_traceback_frame_variables(request, tb_frame) Returns the filtered dictionary of local variables for the given traceback frame. By default it replaces the values of sensitive variables with stars |
