Fix closes Issue: 14217 - 3.2 branch
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 68c4e5d..5ce3669 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -180,7 +180,10 @@
    scope_test()
    print("In global scope:", spam)
 
-The output of the example code is::
+The output of the example code is:
+
+.. code-block:: none
+
 
    After local assignment: test spam
    After nonlocal assignment: nonlocal spam