Skip to content

Commit 6392b0e

Browse files
committed
Add missing import in readme example
1 parent e9c4a4f commit 6392b0e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ Here's a simple example:
3131

3232
.. code-block:: python
3333
34-
from jsonschema_lexer.lexer import JSONSchemaLexer
35-
34+
# Import the JSONSchemaLexer class from the package
35+
from jsonschema_lexer import JSONSchemaLexer
36+
37+
from rich.console import Console
3638
from rich.syntax import Syntax
39+
3740
console = Console()
3841
3942
code = """

0 commit comments

Comments
 (0)