Fixes a compile error when declaring a standalone function or class method with a Python name that is a Rust keyword.