【发布时间】:2016-04-05 06:19:17
【问题描述】:
在最新版本的pycharm(2016.1)中 有一个奇怪的行为 - 文档字符串中的某些字符被映射到其他字符 - 仅在显示中 - 任何解决方法?
例子:
def main(self, args=None):
"""
:param args: List of arguments, with the 'aws' removed. For example,
the command "aws s3 list-objects --bucket foo" will have an
args list of ``['s3', 'list-objects', '--bucket', 'foo']``.
"""
看起来像:
【问题讨论】:
-
您的主题字体似乎已损坏。如果您将配置文件重置为默认字体并重新启动 IDE,您会看到相同的行为吗?
-
@BurhanKhalid 正确 - 字体在升级过程中以某种方式发生了变化。把它写成答案,我会接受它