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
 ------------