Skip to content

Commit 9b749ef

Browse files
committed
fix usage of star
Signed-off-by: Jade Abraham <[email protected]>
1 parent a2ea650 commit 9b749ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: modules/packages/Python.chpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ module Python {
600600
Compile a lambda function like 'lambda x,: x + 1'
601601
602602
Note: this only works with lambdas that accept a tuple of arguments,
603-
like 'x,' or '*args'
603+
like 'x,' or '\*args'
604604
605605
For example:
606606
.. code-block:: python
@@ -638,7 +638,7 @@ module Python {
638638
Compile a lambda function like 'lambda x,: x + 1'
639639
640640
Note: this only works with lambdas that accept a tuple of arguments,
641-
like 'x,' or '*args'
641+
like 'x,' or '\*args'
642642
643643
Creates a new reference
644644
*/
@@ -1722,7 +1722,7 @@ module Python {
17221722
Import a Python module from bytecode using an arbitrary name.
17231723
17241724
This is equivalent to running the code in a file, and then importing the
1725-
module. However, this takes the bytecode directly (i.e. *.pyc files),
1725+
module. However, this takes the bytecode directly (i.e. ``*.pyc`` files),
17261726
rather than the source.
17271727
17281728
.. warning::

0 commit comments

Comments
 (0)