]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] gh-129641: Docs GHA build: use upload-artifact@v4 (GH-129642) (#130114)
authorPetr Viktorin <encukou@gmail.com>
Tue, 18 Feb 2025 09:15:37 +0000 (10:15 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Feb 2025 09:15:37 +0000 (11:15 +0200)
Co-authored-by: shallow-beach <96891913+shallow-beach@users.noreply.github.com>
fix (#128077)

.github/workflows/doc.yml
Doc/tutorial/classes.rst

index 0c2917854602e15a25275aaa5a5009d202a2624b..1f339f4542ecf97730a1b7d1ee02235cc3c2ec1e 100644 (file)
@@ -36,7 +36,9 @@ jobs:
     - name: 'Build documentation'
       run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest suspicious html
     - name: 'Upload'
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
         name: doc-html
         path: Doc/build/html
+        include-hidden-files: true
+        overwrite: true
index f44cb0b4e905a9df449107b31567f9e9fb0905ba..a6a8211dec65edf95def78debbd1e78ce8a27a89 100644 (file)
@@ -325,7 +325,7 @@ Now what can we do with instance objects?  The only operations understood by
 instance objects are attribute references.  There are two kinds of valid
 attribute names: data attributes and methods.
 
-*data attributes* correspond to "instance variables" in Smalltalk, and to "data
+*Data attributes* correspond to "instance variables" in Smalltalk, and to "data
 members" in C++.  Data attributes need not be declared; like local variables,
 they spring into existence when they are first assigned to.  For example, if
 ``x`` is the instance of :class:`MyClass` created above, the following piece of