Skip to content

Commit

Permalink
Update Python example to latest API (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-ryan authored Jan 4, 2024
1 parent 5ec5325 commit 64a6d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ gherkinDocument, err := gherkin.ParseGherkinDocument(reader)
```python
# Python
from gherkin.parser import Parser
from gherkin.pickles.compiler import compile
from gherkin.pickles.compiler import Compiler

parser = Parser()
gherkin_document = parser.parse("Feature: ...")
pickles = compile(gherkin_document)
pickles = Compiler().compile(gherkin_document)
```

```Objective-C
Expand Down

0 comments on commit 64a6d5e

Please sign in to comment.