Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(29) | Call(0) | Derive(23) | Import(6)
Optional base class for fixers. The subclass name must be FixFooBar where FooBar is the result of removing underscores and capitalizing the words of the fix name. For example, the class name for a fixer named 'has_key' should be FixHasKey.
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_set_literal.py py3kwarn(Download)
class FixSetLiteral(fixer_base.BaseFix): BM_compatible = True explicit = True
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_reduce.py py3kwarn(Download)
class FixReduce(fixer_base.BaseFix): BM_compatible = True order = "pre"
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_operator.py py3kwarn(Download)
class FixOperator(fixer_base.BaseFix): BM_compatible = True order = "pre" methods = """
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_long.py py3kwarn(Download)
class FixLong(fixer_base.BaseFix): BM_compatible = True PATTERN = "'long'" def start_tree(self, tree, filename):
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_itertools_imports.py py3kwarn(Download)
class FixItertoolsImports(fixer_base.BaseFix): BM_compatible = True PATTERN = """ import_from< 'from' 'itertools' 'import' imports=any > """ %(locals())
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_exitfunc.py py3kwarn(Download)
class FixExitfunc(fixer_base.BaseFix): keep_line_order = True BM_compatible = True PATTERN = """
src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_callable.py py3kwarn(Download)
class FixCallable(fixer_base.BaseFix): BM_compatible = True order = "pre"
src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_set_literal.py py3kwarn(Download)
class FixSetLiteral(fixer_base.BaseFix): BM_compatible = True explicit = True
src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_reduce.py py3kwarn(Download)
class FixReduce(fixer_base.BaseFix): BM_compatible = True order = "pre"
src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_operator.py py3kwarn(Download)
class FixOperator(fixer_base.BaseFix): BM_compatible = True order = "pre" methods = """
1 | 2 | 3 Next