From 099a8909172600bc329823c3467c7d6913198655 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 3 Oct 2019 12:16:55 +0100 Subject: [PATCH 1/2] CONTRIBUTING.md: Fix mistake in doctest ;-) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8cd03217d51f..e8fcaf1d6bdd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -86,7 +86,7 @@ We want your work to be readable by others; therefore, we encourage you to note 4 >>> sum(-2, 3) 1 - >>> sum(4.9, 6.1) + >>> sum(4.9, 5.1) 10.0 """ return a + b From d8f5c26777cb6ee5e5f7a4d32fcbe6356b19a88e Mon Sep 17 00:00:00 2001 From: John Law Date: Sat, 5 Oct 2019 23:32:23 +0800 Subject: [PATCH 2/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8fcaf1d6bdd..6dd2f6c6ff78 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 Return: a + b - >>> sum(2, 2) + >>> sumab(2, 2) 4 - >>> sum(-2, 3) + >>> sumab(-2, 3) 1 - >>> sum(4.9, 5.1) + >>> sumab(4.9, 5.1) 10.0 """ return a + b