]> granicus.if.org Git - python/commit
\declaremodule: Make this more robust. Only attempt to add an index
authorFred Drake <fdrake@acm.org>
Mon, 17 May 1999 14:47:10 +0000 (14:47 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 17 May 1999 14:47:10 +0000 (14:47 +0000)
commit5bc8d99bce20cd5acf87448db035895610b6df20
tree201857426ae2dce32896bdac8927db3605cfa263
parent8ee593cb46b76bd932f70168e6cce119af725295
\declaremodule:  Make this more robust.  Only attempt to add an index
 entry based on the module type if the type is known.
 Otherwise, spit out a warning the the module type
 parameter was bad and generate a "plain" index entry.

 Without this, the bad module type was emitted as
 text.

Problem noticed by processing Michael Hudson's docs for
bytecodehacks.
Doc/texinputs/python.sty