legesher / language-legesher-python

✨ Legesher's Python Language for Atom
https://legesher.io
Other
6 stars 11 forks source link

Update language-python.cson #11

Closed Aakash1822 closed 3 years ago

Aakash1822 commented 5 years ago

Requirements

Description of the Change

Alternate Designs

Benefits

Possible Drawbacks

Applicable Issues

Add a new keyword Yield in the file. Yield is a keyword used to return from a function without destroying states of its local variable, also known as a generator.

madiedgar commented 5 years ago

Oooh @Aakash1822 great find 🔍 and thanks for your contribution! This got me thinking 🤔 this repository was originally forked from atom's language-python package which interestingly didn't have the yield variable. Would you mind looking into this a little further, why / why not the keyword would be included?

Aakash1822 commented 5 years ago

Thanks, @madiedgar for your suggestion. I further deep dive into it.

madiedgar commented 5 years ago

Hey @Aakash1822, any update on this? 😄