summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-12-17 03:08:27 +0000
committerFred Drake <fdrake@acm.org>1997-12-17 03:08:27 +0000
commit819b789f3632e6cc727147b2ec89a3d9a0590d91 (patch)
tree25630ab2f6d34cbf2c4851b6cbff73d4de2d71ba /Python/import.c
parent84818d7aada07f9c3d5e39f492ebb6f3158737d7 (diff)
downloadcpython-git-819b789f3632e6cc727147b2ec89a3d9a0590d91.tar.gz
gen_index_id(): New function. Construct an index key such that the sort
is stable and the form is only defined in one place, since we do some fancy footwork with the keys to separate the defining instance of a module reference from other references in the HTML index. make_index_entry(): Override the standard definition to use get_index_id(). make_str_index_entry(): Moved to myformat.perl; only needed there. index_key_eq(): Override the standard definition. Add key transforms to remove extra junk from the end of the keys; it was only there to maintain ordering. clean_key(): Remove key transform no longer needed at this stage, because keeping it makes the sort unstable. add_idx(): Add key transforms to undo the mess we do to separate a module's defining and reference entries. Don't make the text bold.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions