"""Recognize image file formats based on their first few bytes."""
+__all__ = ["what"]
#-------------------------#
# Recognize image headers #
import struct
import marshal
+__all__ = ["ImportManager","Importer","BuiltinImporter"]
+
_StringType = type('')
_ModuleType = type(sys) ### doesn't work in JPython...
python Lib/keyword.py
"""
+__all__ = ["iskeyword"]
+
kwlist = [
#--start keywords--
'and',
import os
from stat import *
+__all__ = ["getline","clearcache","checkcache"]
+
def getline(filename, lineno):
lines = getlines(filename)
if 1 <= lineno <= len(lines):
# If this fails, fall back on a basic 'C' locale emulation.
#
+__all__ = ["setlocale","Error","localeconv","strcoll","strxfrm",
+ "format","str","atof","atoi","LC_CTYPE","LC_COLLATE",
+ "LC_TIME","LC_MONETARY","LC_NUMERIC","LC_MESSAGES",
+ "LC_ALL","CHAR_MAX"]
+
try:
from _locale import *
import os
from stat import *
+__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
+ "basename","dirname","commonprefix","getsize","getmtime",
+ "getatime","islink","exists","isdir","isfile",
+ "walk","expanduser","expandvars","normpath","abspath"]
# Normalize the case of a pathname. Dummy in Posix, but <s>.lower() here.
import urllib
import os
+__all__ = ["url2pathname","pathname2url"]
+
def url2pathname(pathname):
"Convert /-delimited pathname to mac pathname"
#
import rfc822
import os
+__all__ = ["UnixMailbox","MmdfMailbox","MHMailbox","Maildir","BabylMailbox"]
+
class _Mailbox:
def __init__(self, fp):
self.fp = fp
import os
import string
+__all__ = ["getcaps","findmatch"]
# Part 1: top-level interface.
import shutil
from bisect import bisect
+__all__ = ["MH","Error","Folder","Message"]
# Exported constants
check_all("httplib")
check_all("ihooks")
check_all("imaplib")
+check_all("imghdr")
+check_all("imputil")
+check_all("keyword")
+check_all("linecache")
+check_all("locale")
+check_all("macpath")
+check_all("macurl2path")
+check_all("mailbox")
+check_all("mhlib")
check_all("robotparser")