Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite775601

Browse files
authored
gh-101100: Fix sphinx warnings intutorial/classes.rst (#108746)
1 parentb936cf4 commite775601

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ Doc/reference/expressions.rst
156156
Doc/reference/import.rst
157157
Doc/reference/simple_stmts.rst
158158
Doc/tutorial/appendix.rst
159-
Doc/tutorial/classes.rst
160159
Doc/tutorial/controlflow.rst
161160
Doc/tutorial/datastructures.rst
162161
Doc/tutorial/introduction.rst

‎Doc/tutorial/classes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ definition looked like this::
276276
then ``MyClass.i`` and ``MyClass.f`` are valid attribute references, returning
277277
an integer and a function object, respectively. Class attributes can also be
278278
assigned to, so you can change the value of ``MyClass.i`` by assignment.
279-
:attr:`__doc__` is also a valid attribute, returning the docstring belonging to
279+
:attr:`!__doc__` is also a valid attribute, returning the docstring belonging to
280280
the class: ``"A simple example class"``.
281281

282282
Class *instantiation* uses function notation. Just pretend that the class

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp