diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index aef5bbe151cfeb..b9bca9896f8598 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1074,8 +1074,7 @@ this approach. .. attribute:: module.__file__ :attr:`!__file__` is an optional attribute that - may or may not be set. Both attributes should be a :class:`str` when they - are available. + may or may not be set. It should be a :class:`str` when it is available. An optional attribute, :attr:`!__file__` indicates the pathname of the file from which the module was loaded (if loaded from a file), or the pathname of