diff --git a/pep-0681.rst b/pep-0681.rst index bb4b4a49262..0e0f6513fb2 100644 --- a/pep-0681.rst +++ b/pep-0681.rst @@ -203,7 +203,7 @@ customization of default behaviors: eq_default: bool = True, order_default: bool = False, kw_only_default: bool = False, - field_descriptors: Tuple[type, ...] = (()), + field_descriptors: tuple[type | Callable[..., Any], ...] = (), ) -> Callable[[_T], _T]: ... * ``eq_default`` indicates whether the ``eq`` parameter is assumed to @@ -556,7 +556,7 @@ following declaration within their type stubs or source files: eq_default: bool = True, order_default: bool = False, kw_only_default: bool = False, - field_descriptors: Tuple[Union[type, Callable[..., Any]], ...] = (()), + field_descriptors: tuple[type | Callable[..., Any], ...] = (), ) -> Callable[[_T], _T]: # If used within a stub file, the following implementation can # be replaced with "...".