Skip to content

Instantly share code, notes, and snippets.

#coding: utf-8
# Copyright (C) 2011 by Enrico Franchi (tweaks by crap0101)
#
# This file is released under the terms of the MIT license
# http://www.opensource.org/licenses/mit-license.php
import itertools as it
def silence_generator_already_executing(generator):