Skip to content

Commit

Permalink
README fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesittas committed Feb 29, 2024
1 parent 08249af commit a22c195
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ sqlglot.transpile("SELECT foo FROM (SELECT baz FROM t")
```

```
sqlglot.errors.ParseError: Expecting ). Line 1, Col: 33.
sqlglot.errors.ParseError: Expecting ). Line 1, Col: 34.
SELECT foo FROM (SELECT baz FROM t
~
~
```

Structured syntax errors are accessible for programmatic use:
Expand All @@ -225,7 +225,7 @@ except sqlglot.errors.ParseError as e:
[{
'description': 'Expecting )',
'line': 1,
'col': 33,
'col': 34,
'start_context': 'SELECT foo FROM (SELECT baz FROM ',
'highlight': 't',
'end_context': '',
Expand Down

0 comments on commit a22c195

Please sign in to comment.