We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bef014 commit b354a48Copy full SHA for b354a48
1 file changed
README.md
@@ -5,7 +5,7 @@
5
6
Yes, **type hints are always on.** No hidden stuff.
7
8
-## Example
+## Examples
9
```python
10
from exacting import exact
11
@@ -31,6 +31,17 @@ Person(name="John", age=1.23)
31
# ...at attribute 'age'
32
```
33
34
+Also, you can type anything! (Almost.) Cool.
35
+
36
+```python
37
+@exact
38
+class Stuff:
39
+ banana: str | int | bool
40
+ apple: Optional[str]
41
42
+# ...they all work!
43
+```
44
45
***
46
47
WIP. More APIs soon.
0 commit comments