Skip to content

Conversation

@jessemyers-lettuce
Copy link
Contributor

In one of our examples, we have an enumeration for US state abbreviations, which includes Indiana. This results in an entry of the form:

    in = "IN",

which fails to compile because in is a reserved word.

The easiest fix I can imagine is to use upper case.

In one of our examples, we have an enumeration for US state abbreviations,
which includes Indiana. This results in an entry of the form:

```py
    in = "IN",
```

which fails to compile because `in` is a reserved word.

The easiest fix I can imagine is to use upper case.
@MarcoMuellner
Copy link
Owner

Good idea! Thank you for the contribution.

@MarcoMuellner MarcoMuellner merged commit 1a18cef into MarcoMuellner:main Sep 16, 2023
@jessemyers-lettuce jessemyers-lettuce deleted the uppercase-enums branch September 16, 2023 14:49
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