Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道,使用Eclipse's PyDev plugin,为什么文档并不总是出现?
Eclipse's PyDev plugin
和....相比
有没有办法设置Eclipse为“始终显示可用的模块以及附加的帮助”?
Eclipse
问题在于,根据每个上下文,PyDev 类型推理引擎可能知道或不知道您在说什么……在第一种情况下,它知道您正在处理一个字符串,因此可以正确地向您显示。其次,word 可能是一些参数,所以它不能真正正确地找到 swapcase——尽管如果你做了一个 assert isinstance(word, str),它应该可以工作。