1
# arch-tag: david@allouche.net - 2003-11-24 15:35:19 050584000
2
# Copyright (C) 2003 David Allouche <david@allouche.net>
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
"""(the docstring for this module is overriden by _import_builtin)"""
30
from _builtin import *
31
from _escaping import *
33
def _import_builtin():
34
# Along with the monkey-patch in mypydoc, this causes Epydoc to
35
# document the public interface as part of the arch package
36
# instead of the arch._builtin module (where it is actually
37
# defined). This is provides no useful runtime functionality, and
38
# is purely needed for documentation purposes.
43
__doc__ = _builtin._package_doc
44
all = _builtin.__all__
45
all += _output.__all__
46
all += _escaping.__all__
48
getattr(_builtin, name).__module__ = __name__
50
del _builtin._package_doc
54
# Since this function is only useful for documentation, delete it so
55
# Epydoc will not show it in the private listing. There is really
56
# little point in documenting documentation-related stuff...
59
# Deprecated public stuff from before we used __all__.
60
from errors import ExecProblem
61
__all__.extend(('ExecProblem'))
62
from pathname import PathName, FileName, DirName
63
__all__.extend(('PathName', 'FileName', 'DirName'))