Skip to content

Commit e8b2378

Browse files
committed
Fix missing colon in example code in function header
1 parent 1274766 commit e8b2378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/bisect.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ example uses :py:func:`~bisect.bisect` to look up a letter grade for an exam sco
200200
based on a set of ordered numeric breakpoints: 90 and up is an 'A', 80 to 89 is
201201
a 'B', and so on::
202202

203-
>>> def grade(score)
203+
>>> def grade(score):
204204
... i = bisect([60, 70, 80, 90], score)
205205
... return "FDCBA"[i]
206206
...

0 commit comments

Comments
 (0)