Proof that docstring inference is working even on renamed imports. Fixes #507.

This commit is contained in:
Dave Halter
2016-07-31 12:14:44 +02:00
parent a4edf5d5d1
commit 524a13ba26

View File

@@ -218,3 +218,18 @@ def __init__(foo):
""" """
#? str() #? str()
foo foo
# -----------------
# Renamed imports (#507)
# -----------------
import datetime
from datetime import datetime as datetime_imported
def import_issues(foo):
"""
@type foo: datetime_imported
"""
#? datetime.datetime()
foo