fix a typo

original text: Use from x import y as z if two modules named y are to be imported or if y is an inconveniently long name.
This commit is contained in:
Jinhai ZHOU 2016-10-13 14:52:45 +02:00 committed by GitHub
parent 0f9338d8d3
commit a4c02d6131

View File

@ -64,7 +64,7 @@ Lint
使用 ``from x import y`` , 其中x是包前缀, y是不带前缀的模块名.
使用 ``from x import y as z``, 如果两个要导入的模块都叫做z或者y太长了.
使用 ``from x import y as z``, 如果两个要导入的模块都叫做y或者y太长了.
例如, 模块 ``sound.effects.echo`` 可以用如下方式导入: