Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add details about catching all exceptions#213

Merged
yasoob merged 2 commits intoyasoob:masteryasoob/intermediatePython:masterfrom
stevestar888:patch-5stevestar888/intermediatePython:patch-5Copy head branch name to clipboard
Jul 20, 2020
Merged

add details about catching all exceptions#213
yasoob merged 2 commits intoyasoob:masteryasoob/intermediatePython:masterfrom
stevestar888:patch-5stevestar888/intermediatePython:patch-5Copy head branch name to clipboard

Conversation

@stevestar888
Copy link
Contributor

No description provided.

exceptions.rst Outdated
@@ -63,7 +63,15 @@ trapping ALL exceptions:
raise e

This can be helpful when you have no idea about the exceptions which may
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update "which" to "that" while you are at it? :)

exceptions.rst Outdated

This can be helpful when you have no idea about the exceptions which may
be thrown by your program.
be thrown by your program. If you just looking to catch all execptions,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"If you just" -> "If you are just"

exceptions.rst Outdated
but don't actually care about what they are, you can even exclude the
``Exception as e`` part.

Note: catching all exceptions may have unintended consequences because catching
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Note:" -> "Note::"

This will just make sure that it renders in a nice blue box on the website :)

@stevestar888
Copy link
Contributor Author

Sorry it took a few days, but I updated the files with your requested changes!

@yasoob yasoob merged commit 219193a into yasoob:master Jul 20, 2020
@yasoob
Copy link
Owner

yasoob commented Jul 20, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.