Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2581704d
Commit
2581704d
authored
Jan 13, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do_cmd_refmodule(): New function to support new \refmodule macro.
parent
b5600e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Doc/perl/python.perl
Doc/perl/python.perl
+10
-0
No files found.
Doc/perl/python.perl
View file @
2581704d
...
...
@@ -148,6 +148,16 @@ sub do_cmd_samp{ return use_wrappers(@_[0], '"<tt>', '</tt>"'); }
sub
do_cmd_kbd
{
return
use_wrappers
(
@_
[
0
],
'
<kbd>
',
'
</kbd>
');
}
sub
do_cmd_strong
{
return
use_wrappers
(
@_
[
0
],
'
<b>
',
'
</b>
');
}
sub
do_cmd_refmodule
{
# Insert the right magic to jump to the module definition.
local
(
$_
)
=
@_
;
my
$key
=
next_optional_argument
();
my
$module
=
next_argument
();
$key
=
$module
unless
$key
;
return
"
<tt><a href=
\"
module-
$key
.html
\"
>
$module
</a></tt>
"
.
$_
;
}
sub
do_cmd_newsgroup
{
local
(
$_
)
=
@_
;
my
$newsgroup
=
next_argument
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment