]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Pull expat license from `Modules/expat/` in `license.rst` (#144488)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Fri, 6 Feb 2026 08:54:34 +0000 (08:54 +0000)
committerGitHub <noreply@github.com>
Fri, 6 Feb 2026 08:54:34 +0000 (09:54 +0100)
Use license directly from Modules/expat/COPYING.

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/license.rst

index e0683c34967c83410e05f30cf325cba1b1d5b80a..23860815e7c107989f35bceda429100fab037502 100644 (file)
@@ -848,29 +848,10 @@ expat
 -----
 
 The :mod:`pyexpat <xml.parsers.expat>` extension is built using an included copy of the expat
-sources unless the build is configured ``--with-system-expat``::
+sources unless the build is configured :option:`--with-system-expat`:
 
-  Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
-                                 and Clark Cooper
-
-  Permission is hereby granted, free of charge, to any person obtaining
-  a copy of this software and associated documentation files (the
-  "Software"), to deal in the Software without restriction, including
-  without limitation the rights to use, copy, modify, merge, publish,
-  distribute, sublicense, and/or sell copies of the Software, and to
-  permit persons to whom the Software is furnished to do so, subject to
-  the following conditions:
-
-  The above copyright notice and this permission notice shall be included
-  in all copies or substantial portions of the Software.
-
-  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+.. literalinclude:: ../Modules/expat/COPYING
+  :language: text
 
 
 libffi