8000 gh-113560: Improve docs for `set.issubset` and `set.issuperset` by CharlieZhao95 · Pull Request #113562 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-113560: Improve docs for set.issubset and set.issuperset #113562

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

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix docstring
  • Loading branch information
CharlieZhao95 committed Jan 27, 2024
commit 1e976ca24bb3507c4a007d4fce3101a61cf1de8b
4 changes: 2 additions & 2 deletions Objects/setobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ set_issubset(PySetObject *so, PyObject *other)
}

PyDoc_STRVAR(issubset_doc,
"issubset($self, /, other)\n\
"issubset($self, other, /)\n\
--\n\
\n\
Test whether every element in the set is in other.");
Expand Down Expand Up @@ -1807,7 +1807,7 @@ set_issuperset(PySetObject *so, PyObject *other)
}

PyDoc_STRVAR(issuperset_doc,
"issuperset($self, /, other)\n\
"issuperset($self, other, /)\n\
--\n\
\n\
Test whether every element in other is in the set.");
Expand Down
0