diff -r ee53a39d5896 runtime/autoload/python3complete.vim
--- a/runtime/autoload/python3complete.vim	Sun Aug 15 15:24:20 2010 +0200
+++ b/runtime/autoload/python3complete.vim	Sat Jul 23 02:02:02 2011 +0900
@@ -297,12 +297,12 @@
         str = ""
         if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n'
         for l in self.locals:
-            if l.startswith('import'): str += l+'\n'
+            if l.startswith('import') or l.startswith('from'): str += l+'\n'
         str += 'class _PyCmplNoType:\n    def __getattr__(self,name):\n        return None\n'
         for sub in self.subscopes:
             str += sub.get_code()
         for l in self.locals:
-            if not l.startswith('import'): str += l+'\n'
+            if not l.startswith('import') and not l.startswith('from'): str += l+'\n'
 
         return str
 
diff -r ee53a39d5896 runtime/autoload/pythoncomplete.vim
--- a/runtime/autoload/pythoncomplete.vim	Sun Aug 15 15:24:20 2010 +0200
+++ b/runtime/autoload/pythoncomplete.vim	Sat Jul 23 02:02:02 2011 +0900
@@ -315,12 +315,12 @@
         str = ""
         if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n'
         for l in self.locals:
-            if l.startswith('import'): str += l+'\n'
+            if l.startswith('import') or l.startswith('from'): str += l+'\n'
         str += 'class _PyCmplNoType:\n    def __getattr__(self,name):\n        return None\n'
         for sub in self.subscopes:
             str += sub.get_code()
         for l in self.locals:
-            if not l.startswith('import'): str += l+'\n'
+            if not l.startswith('import') and not l.startswith('from'): str += l+'\n'
 
         return str
 
