Commit b09dfc2
Generators get the is_method bit as well
Summary: CPython marks generator expressions as methods as well, so we need to too.
Reviewed By: mpage
Differential Revision: D82077058
fbshipit-source-id: a69679f2e605728aee352bbb0da7e55438b4bf0c1 parent 15bebd5 commit b09dfc2
2 files changed
Lines changed: 7 additions & 0 deletions
File tree
- cinderx/PythonLib
- cinderx/compiler
- test_cinderx/test_compiler/testcorpus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
539 | 542 | | |
540 | 543 | | |
541 | 544 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments