I\'m using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as
omnifunc=pythoncomplete
os.
Even though there is already an accepted answer I found this directly from the docs which will work for any plugin that is having this issue.
autocmd CompleteDone * pclose