CONTRIBUTING.md: Fix mistake in doctest ;-) (#1266)

* CONTRIBUTING.md: Fix mistake in doctest ;-)

* Update CONTRIBUTING.md
This commit is contained in:
Christian Clauss 2019-10-05 20:32:58 +05:00 committed by John Law
parent 9eac17a408
commit 6ebd899c01

View File

@ -82,11 +82,11 @@ We want your work to be readable by others; therefore, we encourage you to note
""" """
This function returns the sum of two integers a and b This function returns the sum of two integers a and b
Return: a + b Return: a + b
>>> sum(2, 2) >>> sumab(2, 2)
4 4
>>> sum(-2, 3) >>> sumab(-2, 3)
1 1
>>> sum(4.9, 6.1) >>> sumab(4.9, 5.1)
10.0 10.0
""" """
return a + b return a + b