浏览代码

Fix typo in docs

Thomas Kluyver 10 年之前
父节点
当前提交
b164e61b38
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/faq.rst

+ 1 - 1
doc/faq.rst

@@ -38,7 +38,7 @@ copied automatically, and modules in that package can locate them using
 If you don't want to put data files inside a Python package, you will need to
 list them in the ``files`` key of the ``[Include]`` section of the config file.
 Your code can find them relative to the location of the launch script running your
-application (``sys.module['__main__'].__file__``).
+application (``sys.modules['__main__'].__file__``).
 
 Alternatives
 ------------