Docs: Add missing 'import sys' to Canvas Creation tutorial#351
Docs: Add missing 'import sys' to Canvas Creation tutorial#351kimssammwu wants to merge 1 commit intokyamagu:mainfrom
Conversation
|
Can you explain where the error is triggered? I don't see the use of |
21a3b4d to
dab1e0a
Compare
Hello, thank you for reviewing the Pull Request. I apologize for the confusion; I've identified the precise reason why the changes were not initially visible. The issue was a formatting mistake in the file. I mistakenly committed the file without a blank line immediately following the The original purpose of the PR was to fix the Code Omission Issue for the missing sys package, which was necessary because sys.platform was being used in two locations:
I have now resolved both the document formatting error and the core code issue. |
|
Okay, my fault : the |
The example code in the Canvas Creation section of the tutorial requires the `sys` module to run correctly, but the `import sys` statement was missing. This change adds the import sys to resolve the error.
dab1e0a to
e8fc66c
Compare
|
I have made the requested change! |
The example code in the Canvas Creation section of the tutorial requires the
sysmodule to run correctly, but theimport sysstatement was missing.This change adds the import sys to resolve the error.