Repository navigation
gh-85864: Mark no keyword arg for seek() - #91683
Conversation
|
Actually, while we're here, could you confirm whether any other methods mentioned here need the same change? I checked and at least |
|
@JelleZijlstra Hmm, where is the position-only function parameters specified for these functions? I've tried looking at |
|
Here: Line 516 in ac4ffd3 _pyio.py doesn't ever actually get used as far as I can tell.
|
|
It seems that IOBase doesn't have |
|
Thanks @slateny for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
|
GH-91847 is a backport of this pull request to the 3.10 branch. |
|
Sorry, @slateny and @JelleZijlstra, I could not cleanly backport this to |
(cherry picked from commit a3f2cf3) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
GH-91848 is a backport of this pull request to the 3.9 branch. |
|
@JelleZijlstra Thanks for the merge - could you take a look at the comment here? I've got most of them but there's still some ambiguous cases |
|
Sorry for missing that! I think we should just mark it as positional-only in the IOBase docs. |
…91683). (python#91848) (cherry picked from commit a3f2cf3) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
#85864