Skip to content

Commit 34eed9b

Browse files
Remove dead internals pages
1 parent 8090ffc commit 34eed9b

File tree

9 files changed

+30
-73
lines changed

9 files changed

+30
-73
lines changed

conf.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,14 @@
149149
"pullrequest.rst": "getting-started/pull-request-lifecycle.rst",
150150
"setup.rst": "getting-started/setup-building.rst",
151151
# CPython Internals
152-
"compiler.rst": "internals/compiler.rst",
153-
"exploring.rst": "internals/exploring.rst",
154-
"garbage_collector.rst": "internals/garbage-collector.rst",
155-
"parser.rst": "internals/parser.rst",
152+
"compiler.rst": "internals.rst",
153+
"exploring.rst": "internals.rst",
154+
"garbage_collector.rst": "internals.rst",
155+
"parser.rst": "internals.rst",
156+
"internals/compiler.rst": "internals.rst",
157+
"internals/exploring.rst": "internals.rst",
158+
"internals/garbage_collector.rst": "internals.rst",
159+
"internals/parser.rst": "internals.rst",
156160
# Testing and Buildbots
157161
"buildbots.rst": "testing/buildbots.rst",
158162
"coverage.rst": "testing/coverage.rst",

developer-workflow/c-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Guidelines for adding to the Limited API
387387
details involve:
388388

389389
- The GIL
390-
- :ref:`Garbage collection <gc>`
390+
- Garbage collection
391391
- Memory layout of PyObject, lists/tuples and other structures
392392

393393
If following these guidelines would hurt performance, add a fast function

index.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,8 @@ Additional resources
267267
* Anyone can clone the sources for this guide. See :ref:`devguide`.
268268
* Help with ...
269269

270-
* :ref:`exploring`
270+
* :ref:`internals`
271271
* :ref:`grammar`
272-
* :ref:`parser`
273-
* :ref:`compiler`
274-
* :ref:`garbage_collector`
275272

276273
* Tool support
277274

@@ -317,7 +314,7 @@ Full table of contents
317314
testing/index
318315
development-tools/index
319316
core-team/index
320-
internals/index
317+
internals
321318
versions
322319
contrib/index
323320

internals/exploring.rst renamed to internals.rst

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
.. _exploring:
1+
.. _internals:
22

33
===================
4+
CPython's internals
5+
===================
6+
7+
This guide describes the basics of CPython’s internals.
8+
It explains the layout of CPython’s source code.
9+
10+
.. _exploring:
11+
412
CPython source code
513
===================
614

@@ -9,7 +17,7 @@ a summary of file locations for modules and built-ins.
917

1018

1119
Source code layout
12-
==================
20+
------------------
1321

1422
For a Python :term:`module`, the typical layout is:
1523

@@ -46,7 +54,7 @@ Some exceptions to these layouts are:
4654

4755

4856
Additional references
49-
=====================
57+
---------------------
5058

5159
The CPython code base is constantly changing and evolving.
5260
Here's a sample of references about CPython's architecture aimed at
@@ -92,3 +100,11 @@ building your understanding of CPython internals and its evolution:
92100
.. _A guide from parser to objects, observed using Eclipse: https://docs.google.com/document/d/1nzNN1jeNCC_bg1LADCvtTuGKvcyMskV1w8Ad2iLlwoI/
93101

94102
.. _CPython internals\: A ten-hour codewalk through the Python interpreter source code: https://www.youtube.com/playlist?list=PLzV58Zm8FuBL6OAv1Yu6AwXZrnsFbbR0S
103+
104+
105+
CPython InternalDocs
106+
====================
107+
108+
For more detailed and up-to-date documentation on CPython's internals,
109+
please refer to the `InternalDocs folder <https://github.com/python/cpython/tree/main/InternalDocs>`_
110+
in the CPython repository.

internals/compiler.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

internals/garbage-collector.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

internals/index.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

internals/interpreter.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

internals/parser.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)