commit:     af100c65ebf7fd84307a84819602a934ebb0741c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 19:23:46 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 09:03:28 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=af100c65

Remove outdated mention of Python 2 from comment

Fixes: 5e9fe0f2a ("Eliminate basestring/long/_unicode py3 compat")
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/portage/versions.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/portage/versions.py b/lib/portage/versions.py
index 317683b17..1dc942124 100644
--- a/lib/portage/versions.py
+++ b/lib/portage/versions.py
@@ -341,11 +341,11 @@ def catpkgsplit(mydata, silent=1, eapi=None):
 
 class _pkg_str(str):
        """
-       This class represents a cpv. It inherits from str (unicode in python2) 
and
-       has attributes that cache results for use by functions like catpkgsplit 
and
-       cpv_getkey which are called frequently (especially in match_from_list).
-       Instances are typically created in dbapi.cp_list() or the Atom 
contructor,
-       and propagate from there. Generally, code that pickles these objects 
will
+       This class represents a cpv. It inherits from str and has attributes
+       that cache results for use by functions like catpkgsplit and cpv_getkey
+       which are called frequently (especially in match_from_list).  Instances
+       are typically created in dbapi.cp_list() or the Atom contructor, and
+       propagate from there. Generally, code that pickles these objects will
        manually convert them to a plain unicode object first.
 
        Instances of this class will have missing attributes for metadata that

Reply via email to