https://github.com/python/cpython/commit/cf60e0c4527b910c93c85e257e33c8b966c7e810
commit: cf60e0c4527b910c93c85e257e33c8b966c7e810
branch: main
author: Stan Ulbrych <[email protected]>
committer: vstinner <[email protected]>
date: 2026-02-06T09:54:34+01:00
summary:

Docs: Pull expat license from `Modules/expat/` in `license.rst` (#144488)

Use license directly from Modules/expat/COPYING.

Co-authored-by: Victor Stinner <[email protected]>

files:
M Doc/license.rst

diff --git a/Doc/license.rst b/Doc/license.rst
index e0683c34967c83..23860815e7c107 100644
--- a/Doc/license.rst
+++ b/Doc/license.rst
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to