diff --git a/PythonAPI/carla/source/carla/libcarla.pyi b/PythonAPI/carla/source/carla/libcarla.pyi index b5f78c45a..6f2368d9a 100644 --- a/PythonAPI/carla/source/carla/libcarla.pyi +++ b/PythonAPI/carla/source/carla/libcarla.pyi @@ -101,7 +101,7 @@ class Actor(): ... @property - def parent() -> ["Actor"]: + def parent() -> Union["Actor", None]: """Actors may be attached to a parent actor that they will follow around. This is said actor.""" ...