Skip to content

Commit d59bac3

Browse files
fix property name in 'publishing grammers' doc page
1 parent 8a7846f commit d59bac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/publishing-grammars.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ package supporting multiple versions of Python might be used like this:
1515
```js
1616
const {python2} = require('./your-python-package');
1717
const result = python2.grammar.match('print 3');
18-
python2.createSemantics(result).eval();
18+
python2.semantics(result).eval();
1919
```
2020

2121
To package a single primary language along with other variants, you can expose

0 commit comments

Comments
 (0)