Explorar o código

Fix typo in docs

Thomas Kluyver %!s(int64=10) %!d(string=hai) anos
pai
achega
b164e61b38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 ------------