Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-morel committed May 24, 2024
1 parent b8a23a9 commit a467778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ for a dictionarry mapping of integers to list of floats or floats.
```python
cast = pyoload.Cast(int|str)
print(repr(cast(3.0)))
print(repr(cast(3i)))
```
Will print `'3.0'` as `3.0` can not be converted to a complex
Will print `'3i'` as `3i` can not be converted to a complex
--------------------
Accepted annotations
Expand Down

0 comments on commit a467778

Please sign in to comment.