Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
Myquestionisinthetitle.Inthetutorial,Iread:Use'pass'inplaces,wherecodeisrequiredsyntactically,butnoneisneeded.Inordertosaveindentations,Iusedtheconditionalassignementinsomesegmentofcode.ButIonlywanttoincludezinthesetx,ifitisnotNone,becauselater,theNonedisturbs.Somythesisis:Thecodeinthetitleissyntacticallycorrect,butstill,Igetasyntaxerror.Thankyouforyourkindconsideration
CPython versions tested on:
3.10
Operating systems tested on:
Windows
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Todo