From efd182566dd5d8a1540a9ee9d835357f1101b51b Mon Sep 17 00:00:00 2001 From: Alex Hedges Date: Sun, 20 Feb 2022 00:36:30 -0500 Subject: [PATCH 1/2] PEP 544: Replace broken link to Zope documentation --- pep-0544.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0544.txt b/pep-0544.txt index f547e2e46ac..a12eb60821f 100644 --- a/pep-0544.txt +++ b/pep-0544.txt @@ -1377,7 +1377,7 @@ Support adapters and adaptation ------------------------------- Adaptation was proposed by :pep:`246` (rejected) and is supported by -``zope.interface``, see https://docs.zope.org/zope.interface/adapter.html. +``zope.interface``, see `https://docs.zope.org/zope.interface/adapter.html `_. Adapters is quite an advanced concept, and :pep:`484` supports unions and generic aliases that can be used instead of adapters. This can be illustrated with an example of ``Iterable`` protocol, there is another way of supporting From 5a7281c465c185cec7a42202d4f99cbd422cf417 Mon Sep 17 00:00:00 2001 From: Alex Hedges Date: Mon, 21 Feb 2022 15:17:17 -0500 Subject: [PATCH 2/2] PEP 544: Replace bare URL with descriptive text --- pep-0544.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pep-0544.txt b/pep-0544.txt index a12eb60821f..8fc57f04877 100644 --- a/pep-0544.txt +++ b/pep-0544.txt @@ -1377,7 +1377,8 @@ Support adapters and adaptation ------------------------------- Adaptation was proposed by :pep:`246` (rejected) and is supported by -``zope.interface``, see `https://docs.zope.org/zope.interface/adapter.html `_. +``zope.interface``, see `the Zope documentation on adapter registries +`_. Adapters is quite an advanced concept, and :pep:`484` supports unions and generic aliases that can be used instead of adapters. This can be illustrated with an example of ``Iterable`` protocol, there is another way of supporting