Skip to content

Fix typo in python example code#15303

Merged
corwintines merged 1 commit into
ethereum:devfrom
dlm:patch-2
May 20, 2025
Merged

Fix typo in python example code#15303
corwintines merged 1 commit into
ethereum:devfrom
dlm:patch-2

Conversation

@dlm
Copy link
Copy Markdown
Contributor

@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
@netlify
Copy link
Copy Markdown

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.

@github-actions
Copy link
Copy Markdown
Contributor

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the Status: Stale This issue is stale because it has been open 30 days with no activity. label May 17, 2025
@corwintines corwintines merged commit e31043f into ethereum:dev May 20, 2025
6 checks passed
@gitpoap-bot
Copy link
Copy Markdown

gitpoap-bot Bot commented May 20, 2025

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2025 Ethereum.org Contributor:

GitPOAP: 2025 Ethereum.org Contributor GitPOAP Badge

Join the [ethereum.org Discord server](https://ethereum.org/discord) to explore more ways to contribute to the project. Depending on the tasks you complete, you may also unlock additional rewards. Visit [ethereum.org/contributing](https://ethereum.org/contributing) to learn more.

Head to gitpoap.io & connect your GitHub account to mint!Keep buidling, keep learning, and let's grow the Ethereum open-source community together 🌱

Learn more about GitPOAPs here.

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 Status: Stale This issue is stale because it has been open 30 days with no activity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants