src/w/e/weightless-HEAD/weightless/examples/testautodecorate.py weightless(Download)
from types import GeneratorType, FunctionType
def decorator(generatorOrFunction):
if type(generatorOrFunction) == GeneratorType:
print "composing"
return generatorOrFunction
elif type(generatorOrFunction) == FunctionType:
src/p/y/pynomic-HEAD/jinja2/sandbox.py pynomic(Download)
:license: BSD.
"""
import operator
from types import FunctionType, MethodType, TracebackType, CodeType, \
FrameType, GeneratorType
from jinja2.runtime import Undefined
from jinja2.environment import Environment
src/p/y/pyfit-HEAD/fit/fitLib/ParamRowFixture.py pyfit(Download)
# and must initialize it by inserting the _typeDict. # import copy from types import ListType, TupleType, GeneratorType, DictType from fit.FitException import FitException from fit.RowFixture import RowFixture
src/p/y/PyFIT-0.8a2/fit/fitLib/ParamRowFixture.py PyFIT(Download)
# and must initialize it by inserting the _typeDict. # import copy from types import ListType, TupleType, GeneratorType, DictType from fit.FitException import FitException from fit.RowFixture import RowFixture
src/p/y/pysandbox-HEAD/sandbox/attributes.py pysandbox(Download)
from types import FunctionType, FrameType, GeneratorType
from sys import version_info
try:
from sys import _clear_type_cache
except ImportError:
# Python < 2.6 has no type cache, so we don't have to clear it
def _clear_type_cache():
src/k/i/kid-0.9.6/kid/template_util.py kid(Download)
import inspect import sys from types import TypeType, ModuleType, ClassType, GeneratorType import itertools # these are for use by template code
src/p/y/pysandbox-1.0.3/sandbox/attributes.py pysandbox(Download)
from types import FunctionType, FrameType, GeneratorType
from sys import version_info
try:
from sys import _clear_type_cache
except ImportError:
# Python < 2.6 has no type cache, so we don't have to clear it
def _clear_type_cache():
src/v/e/vertebra-py-HEAD/lib/vertebra/job.py vertebra-py(Download)
from types import GeneratorType,DictType from threading import Thread from Queue import Queue,Empty from vertebra.util import symbol from random import randint from vertebra.token import token
src/w/e/weightless-HEAD/weightless/_compose.py weightless(Download)
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
## end license ##
from types import GeneratorType, FunctionType
from sys import exc_info
try:
from tbtools import inject_traceback
src/r/e/reporter-lib-HEAD/packages/Django/django/utils/datastructures.py reporter-lib(Download)
from types import GeneratorType
from django.utils.copycompat import deepcopy
class MergeDict(object):
"""
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next