Skip to content

Commit 853cce9

Browse files
authored
Remove py2 references from README (#732)
* Remove reference of py2 from the README
1 parent 04ecb0c commit 853cce9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ It can be installed with::
2424
Useful tips:
2525

2626
* Be sure to install it for a version of Python which is compatible
27-
with your codebase: for Python 2, ``pip2 install pyflakes`` and for
28-
Python3, ``pip3 install pyflakes``.
27+
with your codebase: ``python#.# -m pip install pyflakes`` (for example,
28+
``python3.10 -m pip install pyflakes``)
2929

30-
* You can also invoke Pyflakes with ``python3 -m pyflakes .`` or
31-
``python2 -m pyflakes .`` if you have it installed for both versions.
30+
* You can also invoke Pyflakes with ``python#.# -m pyflakes .`` if you want
31+
to run it for a specific python version.
3232

3333
* If you require more options and more flexibility, you could give a
3434
look to Flake8_ too.

0 commit comments

Comments
 (0)