Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3809aed

Browse filesBrowse files
authored
Merge pull request #336 from frenzymadness/fix_3.10
Fix tests for Python 3.10
2 parents 194c6e6 + dc6e816 commit 3809aed
Copy full SHA for 3809aed

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎docs/usage.rst

Copy file name to clipboardExpand all lines: docs/usage.rst
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.