From 1cda075b7bfe8259e782e9ac2692c33c2a1b4697 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 4 Feb 2026 21:12:57 +0000 Subject: [PATCH 1/2] Use license directly from Modules/expat/COPYING --- Doc/license.rst | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/Doc/license.rst b/Doc/license.rst index 269d14cefbcefa..4837ca816e856a 100644 --- a/Doc/license.rst +++ b/Doc/license.rst @@ -848,29 +848,10 @@ expat ----- The :mod:`pyexpat ` 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 ``--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 From 1fb240ac1018e7bc8392e1aa58f7dcd82b90c922 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 5 Feb 2026 15:47:30 +0000 Subject: [PATCH 2/2] Add link to configure option Co-authored-by: Victor Stinner --- Doc/license.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/license.rst b/Doc/license.rst index 4837ca816e856a..0d633cfaf62cea 100644 --- a/Doc/license.rst +++ b/Doc/license.rst @@ -848,7 +848,7 @@ expat ----- The :mod:`pyexpat ` 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`: .. literalinclude:: ../Modules/expat/COPYING :language: text