Fix some typos in docs and examples and make the code look nicer.
This commit is contained in:
parent
70801d47d1
commit
8985c34809
45 changed files with 717 additions and 717 deletions
|
|
@ -251,7 +251,7 @@ unix > <b>ld -G example.o example_wrap.o -o example.so</b> # This is for Sola
|
|||
unix > <b>perl5.003
|
||||
use example;
|
||||
print example::fact(4), "\n";
|
||||
print example::my_mod(23,7), "\n";
|
||||
print example::my_mod(23, 7), "\n";
|
||||
print $example::My_variable + 4.5, "\n";
|
||||
<ctrl-d></b>
|
||||
24
|
||||
|
|
@ -279,7 +279,7 @@ Type "copyright", "credits" or "license" for more information.
|
|||
>>> <b>import example</b>
|
||||
>>> <b>example.fact(4)</b>
|
||||
24
|
||||
>>> <b>example.my_mod(23,7)</b>
|
||||
>>> <b>example.my_mod(23, 7)</b>
|
||||
2
|
||||
>>> <b>example.cvar.My_variable + 4.5</b>
|
||||
7.5
|
||||
|
|
@ -303,7 +303,7 @@ unix > <b>ld -G example.o example_wrap.o -o example.so</b>
|
|||
unix > <b>perl5.003
|
||||
use example;
|
||||
print example::fact(4), "\n";
|
||||
print example::my_mod(23,7), "\n";
|
||||
print example::my_mod(23, 7), "\n";
|
||||
print $example::My_variable + 4.5, "\n";
|
||||
<ctrl-d></b>
|
||||
24
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue