diff --git a/docs/usage/api.rst b/docs/usage/api.rst index 8e8ca90..62256f1 100644 --- a/docs/usage/api.rst +++ b/docs/usage/api.rst @@ -15,9 +15,9 @@ API overview :param flags: (optional). defaults to ``0`` :param dont_inherit: (optional). defaults to ``False`` :param policy: (optional). defaults to ``RestrictingNodeTransformer`` - :type source: str or unicode text or ``ast.AST`` - :type filename: str or unicode text - :type mode: str or unicode text + :type source: str or ``ast.Module`` + :type filename: str or bytes or os.PathLike[typing.Any] + :type mode: str :type flags: int :type dont_inherit: int :type policy: RestrictingNodeTransformer class