diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index 4435ecf986..6ece5edbfa 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -2569,7 +2569,7 @@ str_attr_accessor object_api::doc() const { template object object_api::annotations() const { #if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 9 -// https://docs.python.org/3/howto/annotations.html#accessing-the-annotations-dict-of-an-object-in-python-3-9-and-older + // https://docs.python.org/3/howto/annotations.html#accessing-the-annotations-dict-of-an-object-in-python-3-9-and-older if (!hasattr(derived(), "__annotations__")) { setattr(derived(), "__annotations__", dict()); }