Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yushao2 committed May 13, 2021
1 parent eeb45d6 commit 943bd58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ChangeLog
Expand Up @@ -44,8 +44,9 @@ modules are added.

Closes #4412

* New checker ``consider-using-str-partition``. Emitted when only accessing the first or last
element of a str.split().
* New checker ``consider-using-str-partition``. Emitted either when only accessing the first or last
element of a ``str.split()`` or ``str.rsplit()``, or when a ``str.split()`` or ``str.rsplit()`` is
used with a ``max_split`` argument value of 1.

Closes #4440

Expand Down
3 changes: 2 additions & 1 deletion doc/whatsnew/2.9.rst
Expand Up @@ -16,7 +16,8 @@ New checkers
indexing the same dictionary with the key within loop body.

* ``consider-using-str-partition``: Emitted when accessing only the first or last element
of a str.split().
of a ``str.split()`` or ``str.rsplit()``, or when a ``str.split()`` or ``str.rsplit()`` is
used with a ``max_split`` argument value of 1.

Other Changes
=============
Expand Down

0 comments on commit 943bd58

Please sign in to comment.