Skip to content

Commit 12ea7b4

Browse files
committed
removed default argument from get_char
1 parent 3245685 commit 12ea7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cs50/cs50.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def eprint(*args, **kwargs):
6363
raise RuntimeError("The CS50 Library for Python no longer supports eprint, but you can use print instead!")
6464

6565

66-
def get_char(prompt=None):
66+
def get_char(prompt):
6767
raise RuntimeError("The CS50 Library for Python no longer supports get_char, but you can use get_string instead!")
6868

6969

0 commit comments

Comments
 (0)