summaryrefslogtreecommitdiffstats
path: root/Lib/linecache.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-01-24 06:27:27 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-01-24 06:27:27 (GMT)
commit17ab123cf1f0597e7e257c1ce83a6e87b85ffd7b (patch)
treeff884581a6dc34f7abd0f55d44257e1bc90b1e6a /Lib/linecache.py
parentbbd89b66b1b3c44836f560b60c7a176a6172f148 (diff)
downloadcpython-17ab123cf1f0597e7e257c1ce83a6e87b85ffd7b.zip
cpython-17ab123cf1f0597e7e257c1ce83a6e87b85ffd7b.tar.gz
cpython-17ab123cf1f0597e7e257c1ce83a6e87b85ffd7b.tar.bz2
a few more modules get __all__
Diffstat (limited to 'Lib/linecache.py')
-rw-r--r--Lib/linecache.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py
index c39f8db..d6fc28c 100644
--- a/Lib/linecache.py
+++ b/Lib/linecache.py
@@ -9,6 +9,8 @@ import sys
import os
from stat import *
+__all__ = ["getline","clearcache","checkcache"]
+
def getline(filename, lineno):
lines = getlines(filename)
if 1 <= lineno <= len(lines):