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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Fixer for import statements.
If spam is being imported from the local directory, this import:
    from spam import eggs
    from .spam import eggs

And this import:
    import spam
    from . import spam

src/p/y/py3kwarn-HEAD/py3kwarn2to3/tests/test_fixers.py   py3kwarn(Download)
            return self.always_exists or (name in self.present_files)
        from py3kwarn2to3.fixes import fix_import
        fix_import.exists = fake_exists
    def tearDown(self):
        from py3kwarn2to3.fixes import fix_import