<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
U
    if                     @   s2   d Z ddlmZ ddlmZ G dd dejZdS )aT   Fixer for itertools.(imap|ifilter|izip) --> (map|filter|zip) and
    itertools.ifilterfalse --> itertools.filterfalse (bugs 2360-2363)

    imports from itertools are fixed in fix_itertools_import.py

    If itertools is imported as something else (ie: import itertools as it;
    it.izip(spam, eggs)) method calls will not get fixed.
       )
fixer_base)Namec                   @   s*   e Zd ZdZdZde  ZdZdd ZdS )FixItertoolsTz7('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')z
              power< it='itertools'
                  trailer<
                     dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > >
              |
              power< func=%(it_funcs)s trailer< '(' [any] ')' > >
                 c                 C   s   d }|d d }d|krV|j dkrV|d |d  }}|j}|  |  |j| |p^|j}|t|j dd  |d d S )Nfunc    it)ZifilterfalseZizip_longestdot   )prefix)valuer   removeparentreplacer   )selfZnodeZresultsr   r   r	   r    r   @/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_itertools.py	transform   s    
zFixItertools.transformN)	__name__
__module____qualname__ZBM_compatibleZit_funcslocalsZPATTERNZ	run_orderr   r   r   r   r   r      s   	r   N)__doc__ r   Z
fixer_utilr   ZBaseFixr   r   r   r   r   <module>   s   
