Remove special case for '3.10' in _python_impl_matches -- it was only
necessary because we needed to handle 'pypy3' target specially,
and that is no longer the case.  Technically, the code checks for
'pypy3_10' but that's not a problem, since there is no such a thing.

Signed-off-by: Michał Górny <mgo...@gentoo.org>
---
 eclass/python-utils-r1.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index ef05a58e1b13..3a4a3f19a1be 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -230,9 +230,7 @@ _python_impl_matches() {
                                fi
                                return 0
                                ;;
-                       3.10)
-                               ;;
-                       3.8|3.9|3.1[1-3])
+                       3.[89]|3.1[0-3])
                                [[ ${impl%t} == python${pattern/./_} || ${impl} 
== pypy${pattern/./_} ]] &&
                                        return 0
                                ;;

Reply via email to