-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the frozenset.is(sub|super)set docstrings #129622
Comments
Hi, this isn't a usable issue. Please provide sufficient context in bug reports, and consider first opening a discussion on Discourse. A |
The comments are clearer if one tries the given commands. My response for each argument.
To me (EDIT), the only valid issue is the frozenset docstrings. A new title might be "Improve the frozenset.is(sub|super)set docstrings" |
help(slice) and help(range) should be: help(float): Thanks. As a beginner my syntax is more like "float.hex(3.14)" not "3.14.hex()" help(frozenset): Thank you for understanding. help(bool): bool.bit_length: I will learn to ignore examples. I do not expect customization for a built-in child class. However it is good to know where the Boolean methods are inconsistent. When I write a Boolean 'test' for a collection which is a pain, I am well-informed that bool methods do not count the way I expect, specifically by sometimes accepting non-zero-or-one values. This is a critical observation of bool methods. help(bool): bool.is_integer: The built-in bool.is_integer may only accept 0 and 1 equivalents. You discuss float.is_integer. I noticed that some bool-methods accept values other than 0 and 1. help(bool): bool.from_bytes: The built-in method appeared to only accept inputs with byte-array representation of a binary value (as I recall). |
As for range issue, #125897, I think we should use correct Python syntax here to describe function signatures. |
Hi! I'm Hridya, a first-year BTech student eager to contribute to CPython's documentation. I'd like to work on this issue as part of my GSoC 2025 preparation. Could you please assign it to me? |
The issue can be considered stalled as per #129637 (comment) so there is nothing else to do for that one. You can however try to pick up other easy-labeled issues that do not have an associated open PR. |
Hi! I’m Hridya, a first-year BTech student learning Python. I’d love to work on this issue as part of my GSoC preparation. Can I take it? |
Removed "easy" label. That doesn't seems to be an easy issue for me. |
@hridyasadanand please stop spamming issues (#124210, #124210, #127541, #130536) etc. We don't assign issues. Please read the Developer's Guide on contributing to documentation. A |
Sorry about that! I’m new to CPython contributions and didn’t realize I should just start working without assignment. I’ll go through the Developer’s Guide and pick an issue properly. Thanks for the clarification! |
Documentation
RE: Documentation provided by built-in function help()
While reviewing built-in methods in detail I made note of:
Other comments that were not issues
Regards,
'EntryLevelJobSeeker'
Linked PRs
set.is{sub,super}set
docstrings #129637The text was updated successfully, but these errors were encountered: