Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
A blank line

        def BlankLine():
    """A blank line"""
    return Leaf(token.NEWLINE, u"")
        


src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_itertools_imports.py   py3kwarn(Download)
""" Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) """
 
# Local imports
from py3kwarn2to3 import fixer_base
from py3kwarn2to3.fixer_util import BlankLine, syms, token
            imports.parent is None):
            p = node.prefix
            node = BlankLine()
            node.prefix = p
            return node

src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_itertools_imports.py   py3kwarn(Download)
""" Fixer for imports of itertools.(imap|ifilter|izip|ifilterfalse) """
 
# Local imports
from py3kwarn2to3 import fixer_base
from py3kwarn2to3.fixer_util import BlankLine, syms, token
            imports.parent is None):
            p = node.prefix
            node = BlankLine()
            node.prefix = p
            return node