https://github.com/python/cpython/commit/5616505b443b13d9f5766dedcf6c0b43167705b6
commit: 5616505b443b13d9f5766dedcf6c0b43167705b6
branch: main
author: Stan Ulbrych <[email protected]>
committer: hugovk <[email protected]>
date: 2026-07-05T08:43:32+03:00
summary:

Remove PDF images (#145977)

Co-authored-by: Maciej Olko <[email protected]>

files:
D Doc/c-api/lifecycle.dot.pdf
D Doc/library/turtle-star.pdf
D Doc/library/turtle-star.ps
M Doc/c-api/lifecycle.rst
M Doc/library/turtle.rst

diff --git a/Doc/c-api/lifecycle.dot.pdf b/Doc/c-api/lifecycle.dot.pdf
deleted file mode 100644
index ed5b5039c83e2c4..000000000000000
Binary files a/Doc/c-api/lifecycle.dot.pdf and /dev/null differ
diff --git a/Doc/c-api/lifecycle.rst b/Doc/c-api/lifecycle.rst
index 531c4080a0131c3..5e3dca29f2ad901 100644
--- a/Doc/c-api/lifecycle.rst
+++ b/Doc/c-api/lifecycle.rst
@@ -19,7 +19,7 @@ object's life.  An arrow from *A* to *B* indicates that event 
*B* can occur
 after event *A* has occurred, with the arrow's label indicating the condition
 that must be true for *B* to occur after *A*.
 
-.. only:: html and not epub
+.. only:: builder_html
 
    .. raw:: html
 
@@ -50,20 +50,13 @@ that must be true for *B* to occur after *A*.
           })();
       </script>
 
-.. only:: epub or not (html or latex)
+.. only:: not builder_html
 
    .. image:: lifecycle.dot.svg
       :align: center
       :class: invert-in-dark-mode
       :alt: Diagram showing events in an object's life.  Explained in detail 
below.
 
-.. only:: latex
-
-   .. image:: lifecycle.dot.pdf
-      :align: center
-      :class: invert-in-dark-mode
-      :alt: Diagram showing events in an object's life.  Explained in detail 
below.
-
 .. container::
    :name: life-events-graph-description
 
diff --git a/Doc/library/turtle-star.pdf b/Doc/library/turtle-star.pdf
deleted file mode 100644
index e354073dd42f5e6..000000000000000
Binary files a/Doc/library/turtle-star.pdf and /dev/null differ
diff --git a/Doc/library/turtle-star.ps b/Doc/library/turtle-star.ps
deleted file mode 100644
index 46362cb9f7c8f52..000000000000000
Binary files a/Doc/library/turtle-star.ps and /dev/null differ
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 20c659756fe1c19..d7839e2f81172c5 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -46,7 +46,7 @@ direction it is facing, drawing a line as it moves.  Give it 
the command
    Turtle can draw intricate shapes using programs that repeat simple
    moves.
 
-   .. image:: turtle-star.*
+   .. image:: turtle-star.png
       :align: center
 
 In Python, turtle graphics provides a representation of a physical "turtle"

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to