Fix code typo in docs
@@ -4,7 +4,7 @@ from pydantic.errors import PydanticUserError
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
