Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74d5657

Browse files
committed
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe
1 parent 40c9565 commit 74d5657

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/tutorial/classes.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ binding::
180180
scope_test()
181181
print("In global scope:", spam)
182182

183-
The output of the example code is::
183+
The output of the example code is:
184+
185+
.. code-block:: none
184186
185187
After local assignment: test spam
186188
After nonlocal assignment: nonlocal spam

0 commit comments

Comments
 (0)