Skip to content

Commit dc6e816

Browse files
Update docs/usage.rst
Co-authored-by: Tom Schraitle <tomschr@users.noreply.github.com>
1 parent 8d72677 commit dc6e816

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/usage.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ To compare two versions depends on your type:
455455
>>> v > dict(major=1, unknown=42)
456456
Traceback (most recent call last):
457457
...
458-
TypeError: ...__init__() got an unexpected keyword argument 'unknown'
458+
TypeError: ... got an unexpected keyword argument 'unknown'
459459

460460

461461
Other types cannot be compared.
@@ -786,4 +786,3 @@ the original class:
786786
Traceback (most recent call last):
787787
...
788788
ValueError: '1.2.4': not a valid semantic version tag. Must start with 'v' or 'V'
789-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy