⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

use else blocks#121

Open
rickdeu wants to merge 1 commit intotwitter:mainfrom
rickdeu:main
Open

use else blocks#121
rickdeu wants to merge 1 commit intotwitter:mainfrom
rickdeu:main

Conversation

@rickdeu
Copy link

@rickdeu rickdeu commented Apr 2, 2023

  • Use try, except and else block
  • When the try block doesn't raise an exception, the else block runs
  • Better for isolation potential exception

@CLAassistant
Copy link

CLAassistant commented Apr 2, 2023

CLA assistant check
All committers have signed the CLA.

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