PEP 493: Resolve uses of the default role (#3412)

This commit is contained in:
Adam Turner 2023-09-01 20:31:32 +01:00 committed by GitHub
parent 65191051cd
commit c8346db3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ offer options to switch off certificate checking entirely (by way of
``curl --insecure`` and ``wget --no-check-certificate``, respectively). ``curl --insecure`` and ``wget --no-check-certificate``, respectively).
At a different layer of the technology stack, Linux security modules like At a different layer of the technology stack, Linux security modules like
`SELinux` and `AppArmor`, while enabled by default by distribution vendors, ``SELinux`` and ``AppArmor``, while enabled by default by distribution vendors,
offer relatively straightforward mechanisms for turning them off. offer relatively straightforward mechanisms for turning them off.
At the moment, no such convenient mechanisms exist to disable Python's At the moment, no such convenient mechanisms exist to disable Python's
@ -121,8 +121,8 @@ or absence of the feature to be determined using the following technique::
python -c "import ssl; ssl.<_relevant_attribute>" python -c "import ssl; ssl.<_relevant_attribute>"
This will fail with `AttributeError` (and hence a non-zero return code) if the This will fail with ``AttributeError`` (and hence a non-zero return code) if
relevant capability is not available. the relevant capability is not available.
The feature detection attributes defined by this PEP are: The feature detection attributes defined by this PEP are: