o
    bC                     @   s   d Z ddlZejfddZdS )z
Python 2 implementation of the accumulate function in itertools
From the Python documentation https://docs.python.org/3/library/itertools.html#itertool-functions
    Nc                 c   sP    t | }zt|}W n
 ty   Y dS w |V  |D ]
}|||}|V  qdS )zReturn running totalsN)iternextStopIteration)iterablefuncittotalelement r
   Y/var/www/secure340b-portal/env/lib/python3.10/site-packages/openpyxl/compat/accumulate.py
accumulate	   s   
r   )__doc__operatoraddr   r
   r
   r
   r   <module>   s   