8000 Fix small typos (#11643) · pydantic/pydantic@024fdae · GitHub
[go: up one dir, main page]

Skip to content

Commit 024fdae

Browse files
s-rigaudSamuel Rigaud
andauthored
Fix small typos (#11643)
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
1 parent 58e61fa commit 024fdae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

HISTORY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
88
See the [blog post](https://pydantic.dev/articles/pydantic-v2-11-release) for more details.
99

10-
#### Pacaking
10+
#### Packaging
1111

1212
* Bump `pydantic-core` to v2.33.0 by @Viicos in [#11631](https://github.com/pydantic/pydantic/pull/11631)
1313

@@ -2030,7 +2030,7 @@ See [this post](https://docs.pydantic.dev/blog/pydantic-v2-alpha/) for more deta
20302030

20312031
## v1.10.1 (2022-08-31)
20322032

2033-
* Add `__hash__` method to `pydancic.color.Color` class, [#4454](https://github.com/pydantic/pydantic/pull/4454) by @czaki
2033+
* Add `__hash__` method to `pydantic.color.Color` class, [#4454](https://github.com/pydantic/pydantic/pull/4454) by @czaki
20342034

20352035
## v1.10.0 (2022-08-30)
20362036

pydantic/_internal/_generics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ class Model[T, U, V = int](BaseModel): ...
356356
map_generic_model_arguments(Model, (str,))
357357
#> TypeError: Too few arguments for <class '__main__.Model'>; actual 1, expected at least 2
358358
359-
map_generic_model_argumenst(Model, (str, bytes, int, complex))
359+
map_generic_model_arguments(Model, (str, bytes, int, complex))
360360
#> TypeError: Too many arguments for <class '__main__.Model'>; actual 4, expected 3
361361
```
362362

pydantic/dataclasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def rebuild_dataclass(
330330
for attr in ('__pydantic_core_schema__', '__pydantic_validator__', '__pydantic_serializer__'):
331331
if attr in cls.__dict__:
332332
# Deleting the validator/serializer is necessary as otherwise they can get reused in
333-
# pycantic-core. Same applies for the core schema that can be reused in schema generation.
333+
# pydantic-core. Same applies for the core schema that can be reused in schema generation.
334334
delattr(cls, attr)
335335

336336
cls.__pydantic_complete__ = False

tests/test_forward_ref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ class Model[T](BaseModel):
13611361

13621362

13631363
@pytest.mark.skipif(sys.version_info < (3, 12), reason='Test related to PEP 695 syntax.')
1364-
def test_pep695_generics_syntax_arbitry_class(create_module) -> None:
1364+
def test_pep695_generics_syntax_arbitrary_class(create_module) -> None:
13651365
mod_1 = create_module(
13661366
"""
13671367
from typing import TypedDict

0 commit comments

Comments
 (0)
0