Kaydet (Commit) 1e93210f authored tarafından Mikkel Munch Mortensen's avatar Mikkel Munch Mortensen Kaydeden (comit) Tim Graham

Fixed #27963 -- Removed unneeded docstring example in contributing docs.

üst 075e93c1
......@@ -39,13 +39,7 @@ Python style
* Use ``InitialCaps`` for class names (or for factory functions that
return classes).
* In docstrings, follow :pep:`257`. For example::
def foo():
"""
Calculate something and return the result.
"""
...
* In docstrings, follow the style of existing docstrings and :pep:`257`.
* In tests, use :meth:`~django.test.SimpleTestCase.assertRaisesMessage` instead
of :meth:`~unittest.TestCase.assertRaises` so you can check the exception
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment