Athmane Madjoudj 2ee2fc
--- epydoc/docparser.py.orig	2011-05-30 13:26:50.000000000 +0100
Athmane Madjoudj 2ee2fc
+++ epydoc/docparser.py	2011-05-30 13:52:54.000000000 +0100
Athmane Madjoudj 2ee2fc
@@ -860,7 +860,13 @@
Athmane Madjoudj 2ee2fc
 
Athmane Madjoudj 2ee2fc
     # >>> from sys import *
Athmane Madjoudj 2ee2fc
     elif rhs == [(token.OP, '*')]:
Athmane Madjoudj 2ee2fc
-        src_name = parse_dotted_name(lhs)
Athmane Madjoudj 2ee2fc
+        # Allow relative imports in this case, as per PEP 328
Athmane Madjoudj 2ee2fc
+        # e.g. from .foo import *
Athmane Madjoudj 2ee2fc
+        if (lhs[0] == (token.OP, '.')):
Athmane Madjoudj 2ee2fc
+            src_name = parse_dotted_name(lhs,
Athmane Madjoudj 2ee2fc
+                parent_name=parent_docs[-1].canonical_name)
Athmane Madjoudj 2ee2fc
+        else:
Athmane Madjoudj 2ee2fc
+            src_name = parse_dotted_name(lhs)
Athmane Madjoudj 2ee2fc
         _process_fromstar_import(src_name, parent_docs)
Athmane Madjoudj 2ee2fc
 
Athmane Madjoudj 2ee2fc
     # >>> from os.path import join, split