mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	tohtml(): Make module names anchors.
This commit is contained in:
		
							parent
							
								
									a1cce714d0
								
							
						
					
					
						commit
						2903d03e2d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -42,7 +42,8 @@ sub tohtml{ | |||
|     my $name; | ||||
|     foreach $name (split /,/, $self->{names}) { | ||||
| 	my($key,$type,$synopsis) = $self->get($name); | ||||
| 	$data .= "<dt><b><tt>$name</tt></b>\n<dd>$synopsis\n"; | ||||
| 	$data .= ("<dt><b><tt><a href=\"module-$key.html\">$name</a></tt></b>" | ||||
| 		  . "\n<dd>$synopsis\n"); | ||||
|     } | ||||
|     $data .= "</dl>\n"; | ||||
|     $data; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake