What does the colon inside the parameter mean? [duplicate] It’s a type annotation: https://docs.python.org/3/library/typing.html You should be able to just remove it.