Skip to content

Commit 5e0e193

Browse files
committed
Fix import statement in the "Usage" snippet in the README
1 parent 7ffb99f commit 5e0e193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It should go without saying that whether you choose to install the package with
2929
The code snippet below demonstrates obtaining of a _parse tree_ (in the `stylesheet` variable) by parsing the file `example.css`:
3030

3131
```python
32-
from csspring.parsing import parse_stylesheet
32+
from csspring.syntax.parsing import parse_stylesheet
3333
stylesheet = parse_stylesheet(open('example.css', newline='')) # The `newline=''` argument prevents default re-writing of newline sequences in input — per the CSS Syntax spec., parsing does filtering of newline sequences so no rewriting by `open` is necessary or desirable
3434
```
3535

0 commit comments

Comments
 (0)