mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
Fix code typo in docs (#4776)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user