From e2679822b1882a2d3d8f26fac43f090273f025ea Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 2 Nov 2017 07:41:54 +0000 Subject: [PATCH] Doc corrections to make pep8 conformant --- Doc/Manual/Library.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Doc/Manual/Library.html b/Doc/Manual/Library.html index 285dfd000..83b1dcdae 100644 --- a/Doc/Manual/Library.html +++ b/Doc/Manual/Library.html @@ -420,11 +420,11 @@ Now, in a scripting language, you might write this:
-a = new_doubleArray(10)             # Create an array
+a = new_doubleArray(10)               # Create an array
 for i in range(0, 10):
-    doubleArray_setitem(a, i, 2*i)  # Set a value
-print_array(a)                      # Pass to C
-delete_doubleArray(a)               # Destroy array
+    doubleArray_setitem(a, i, 2 * i)  # Set a value
+print_array(a)                        # Pass to C
+delete_doubleArray(a)                 # Destroy array
 
@@ -487,7 +487,7 @@ Allows you to do this: import example c = example.doubleArray(10) # Create double[10] for i in range(0, 10): - c[i] = 2*i # Assign values + c[i] = 2 * i # Assign values example.print_array(c) # Pass to C @@ -1475,7 +1475,7 @@ In the target language:
 x = my_struct();
-x.foo="Hello World";      # assign with string
+x.foo = "Hello World";    # assign with string
 print x.foo;              # print as string