Skip to content

Commit 3a59730

Browse files
authored
Add return type for 3-argument random.randrange()
1 parent 9274e6a commit 3a59730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/random/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(random_getrandbits_obj, random_getrandbits);
8080
//| @overload
8181
//| def randrange(start: int, stop: int) -> int: ...
8282
//| @overload
83-
//| def randrange(start: int, stop: int, step: int):
83+
//| def randrange(start: int, stop: int, step: int) -> int:
8484
//| """Returns a randomly selected integer from ``range(start[, stop[, step]])``."""
8585
//| ...
8686
//|

0 commit comments

Comments
 (0)