Skip to content

Commit

Permalink
DOC: fix typo in code example
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
MarcBresson and Kludex authored Dec 16, 2024
1 parent 7157c6e commit 68c8452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ what gets sent over the wire.*
>>> url.host
'example.org'

from pydantic import HttpUrl
>>> from pydantic import HttpUrl
>>> pydantic_url = HttpUrl("https://example.org/")
>>> url = URL(pydantic_url)
>>> url.host
Expand Down

0 comments on commit 68c8452

Please sign in to comment.