Suggestion doesn't work

For imported modules suggestion function doesn't work.

Example:

from xml.etree.ElementTree import *

xml=fromstring('some xml')

xml. <- no suggestion


Any solution?

1 comment
Comment actions Permalink

Python a dynamically typed language. In dynamically typed languages, return types of functions are not declared. The only way for PyCharm to recognize what the "fromstring" function returns is to hard-code this information, which it does not currently do.

0

Please sign in to leave a comment.