mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix parameter names in assertIn() docs (GH-18829)
The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second".
This commit is contained in:
parent
5565c30f0b
commit
a388bbd3f1
1 changed files with 3 additions and 3 deletions
|
@ -910,10 +910,10 @@ Test cases
|
|||
.. versionadded:: 3.1
|
||||
|
||||
|
||||
.. method:: assertIn(first, second, msg=None)
|
||||
assertNotIn(first, second, msg=None)
|
||||
.. method:: assertIn(member, container, msg=None)
|
||||
assertNotIn(member, container, msg=None)
|
||||
|
||||
Test that *first* is (or is not) in *second*.
|
||||
Test that *member* is (or is not) in *container*.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue