Skip to content

Commit

Permalink
Fix code typo in docs (#4775)
Browse files Browse the repository at this point in the history
  • Loading branch information
ventaquil committed Nov 22, 2022
1 parent 82f2148 commit 3aedaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/postponed_annotations_broken.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def this_is_broken():
from pydantic import HttpUrl # HttpUrl is defined in functuon local scope
from pydantic import HttpUrl # HttpUrl is defined in function local scope

class Model(BaseModel):
a: HttpUrl
Expand Down

0 comments on commit 3aedaf3

Please sign in to comment.