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:59:55 +0100 |
| commit | 6bca149af5b8e2d6fb6fe19bdb53904f07248033 (patch) | |
| tree | 7a121ab9550a1ac60855296a55426c5719de9fd1 /docs/howto/error-reporting.txt | |
| parent | 8eca53f0bef783e5c11877fe18a6651543605af1 (diff) | |
[1.6.x] 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.
Backport of 79e1d6ebd70898d514a44b85648e3d24104c4243 from master.
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 |
