Should read top-level, not to-level.
This commit is contained in:
Matthieu Melot 2022-05-06 14:09:28 -04:00 committed by GitHub
parent dbf2b3262b
commit f008d86a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ If you're confused by the many names, please check out `names` for clarification
What follows is the API explanation, if you'd like a more hands-on introduction, have a look at `examples`. What follows is the API explanation, if you'd like a more hands-on introduction, have a look at `examples`.
As of version 21.3.0, ``attrs`` consists of **two** to-level package names: As of version 21.3.0, ``attrs`` consists of **two** top-level package names:
- The classic ``attr`` that powered the venerable `attr.s` and `attr.ib` - The classic ``attr`` that powered the venerable `attr.s` and `attr.ib`
- The modern ``attrs`` that only contains most modern APIs and relies on `attrs.define` and `attrs.field` to define your classes. - The modern ``attrs`` that only contains most modern APIs and relies on `attrs.define` and `attrs.field` to define your classes.