Suggestion doesn't work

For imported modules suggestion function doesn't work.


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.


Please sign in to leave a comment.