Skip to content

Commit 3a1f7ff

Browse files
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 4ec0b56 commit 3a1f7ff

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

peps/pep-0842.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Status: Draft
66
Type: Standards Track
77
Created: 25-Jul-2026
88
Python-Version: 3.16
9-
Post-History: `24-Jul-2025 <https://discuss.python.org/t/108266/9>`__
9+
Post-History: `24-Jul-2025 <https://discuss.python.org/t/108266>`__
1010

1111

1212
Abstract
@@ -252,7 +252,7 @@ simply access ``mod.__dict__['attr_name']`` instead of ``mod.attr_name`` at
252252
runtime.
253253

254254
This is by design. Python does not include access modifiers as a language
255-
feature for a reason. To `quote <https://discuss.python.org/t/104994/2>`_ Eric Smith:
255+
feature for a reason. To `quote <https://discuss.python.org/t/104994/2>`__ Eric Smith:
256256
"Access to internals of other classes is a feature when you need it". This PEP
257257
does not intend to change this convention, nor should it be interpreted as an
258258
indication that Python is tending toward the direction of true access modifiers.
@@ -296,7 +296,7 @@ Reference Implementation
296296
========================
297297

298298
A reference implementation of this PEP can be found
299-
`here <https://github.com/python/cpython/compare/main...ZeroIntensity:cpython:experiments/module-exports>`_.
299+
`here <https://github.com/python/cpython/compare/main...ZeroIntensity:cpython:experiments/module-exports>`__.
300300

301301

302302
Rejected Ideas
@@ -322,7 +322,7 @@ Add new ``export`` syntax
322322
-------------------------
323323

324324
Rather than simply defining exported names in a global variable, it was
325-
`suggested <https://discuss.python.org/t/108266/11>`_ to take this proposal a
325+
`suggested <https://discuss.python.org/t/108266/11>`__ to take this proposal a
326326
step further and add a true ``export`` (soft) keyword to Python that would
327327
effectively auto-generate an ``__export__`` variable at runtime, like so:
328328

@@ -357,7 +357,7 @@ Acknowledgements
357357
================
358358

359359
Thanks to Hugo van Kemenade and Savannah Ostrowski for `inspiring
360-
<https://github.com/python/cpython/pull/154639#discussion_r3647508463>`_ the idea
360+
<https://github.com/python/cpython/pull/154639#discussion_r3647508463>`__ the idea
361361
behind this PEP.
362362

363363

0 commit comments

Comments
 (0)