Skip to content

Fix typo in python example code #15303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Fix typo in python example code #15303

wants to merge 1 commit into from

Conversation

dlm
Copy link

@dlm dlm commented Apr 16, 2025

Description

The spacing on the line that raises was invalid python. It produces the error

  File "/home/dave/tmp/dev/python/main.py", line 18
    raise Exception("input too long")
                                     ^
IndentationError: unindent does not match any outer indentation level

This update fixes the indentation so that a reader can copy and paste the code.

Related Issue

None, just fixes a type in some docs.

The spacing on the line that `raises` was invalid python.  It produces the error 

```
  File "/home/dave/tmp/dev/python/main.py", line 18
    raise Exception("input too long")
                                     ^
IndentationError: unindent does not match any outer indentation level
```

This update fixes the indentation so that a reader can copy and paste the code.
@github-actions github-actions bot added the content 🖋️ This involves copy additions or edits label Apr 16, 2025
Copy link

netlify bot commented Apr 16, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit abb3223
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67ffdada69a28b0008234073
😎 Deploy Preview https://deploy-preview-15303--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 45 (🔴 down 10 from production)
Accessibility: 95 (🟢 up 1 from production)
Best Practices: 91 (🔴 down 7 from production)
SEO: 98 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant