Skip to content

update md5 type hints to respect PEP570#49195

Merged
potiuk merged 1 commit intoapache:mainfrom
hussein-awala:PEP570
Apr 14, 2025
Merged

update md5 type hints to respect PEP570#49195
potiuk merged 1 commit intoapache:mainfrom
hussein-awala:PEP570

Conversation

@hussein-awala
Copy link
Copy Markdown
Member

According to PEP484 (introduced in 2014 for Python 3.5):

All arguments with names beginning with __ are assumed to be positional-only, except if their names also end with __

Later, Python 3.8 introduced PEP570 for Positional-Only Parameters:

This PEP proposes to introduce a new syntax, /, for specifying positional-only parameters in Python function definitions.

@hussein-awala hussein-awala requested a review from potiuk April 13, 2025 21:48
@potiuk potiuk merged commit 4cdc7be into apache:main Apr 14, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants