SVN: r25668 - trunk/quixote/doc
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Tue, 23 Nov 2004 09:59:23 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dbinger Date: 2004-11-22 18:12:58 -0500 (Mon, 22 Nov 2004) New Revision: 25668 Modified: trunk/quixote/doc/PTL.txt Log: ptlc -> pyc Modified: trunk/quixote/doc/PTL.txt =================================================================== --- trunk/quixote/doc/PTL.txt 2004-11-22 23:07:04 UTC (rev 25667) +++ trunk/quixote/doc/PTL.txt 2004-11-22 23:12:58 UTC (rev 25668) @@ -228,7 +228,7 @@ PTL templates are kept in files with the extension .ptl. Like Python files, they are byte-compiled on import, and the byte-code is written to -a compiled file with the extension ``.ptlc``. Since vanilla Python +a compiled file with the extension ``.pyc``. Since vanilla Python doesn't know anything about PTL, Quixote provides an import hook to let you import PTL files just like regular Python modules. The standard way to install this import hook is by calling the ``enable_ptl()`` function::