Skip to content

Commit 6ebd899

Browse files
cclausspoyea
authored andcommitted
CONTRIBUTING.md: Fix mistake in doctest ;-) (TheAlgorithms#1266)
* CONTRIBUTING.md: Fix mistake in doctest ;-) * Update CONTRIBUTING.md
1 parent 9eac17a commit 6ebd899

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ We want your work to be readable by others; therefore, we encourage you to note
8282
"""
8383
This function returns the sum of two integers a and b
8484
Return: a + b
85-
>>> sum(2, 2)
85+
>>> sumab(2, 2)
8686
4
87-
>>> sum(-2, 3)
87+
>>> sumab(-2, 3)
8888
1
89-
>>> sum(4.9, 6.1)
89+
>>> sumab(4.9, 5.1)
9090
10.0
9191
"""
9292
return a + b

0 commit comments

Comments
 (0)