Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove need of quotes for key values #121

Closed
kaidesu opened this issue Oct 17, 2023 · 1 comment
Closed

Remove need of quotes for key values #121

kaidesu opened this issue Oct 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kaidesu
Copy link
Member

kaidesu commented Oct 17, 2023

Currently, you must wrap key values in quotes to assign:

player = {
  'x': 0,
  'y': 0,
  'health': 100,
}

Instead I'd like to be able to define key values without, as long as there is no space in the key:

player = {
  x: 0,
  y: 0,
  health: 100,
}
@huynhphuchuy
Copy link

much more convenient, thank you, please keep your good work!

@kaidesu kaidesu changed the title remove need of quotes for key values Remove need of quotes for key values Oct 21, 2023
@kaidesu kaidesu added the enhancement New feature or request label Oct 21, 2023
kaidesu added a commit that referenced this issue Oct 26, 2023
@kaidesu kaidesu mentioned this issue Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants