Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/juliacall.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ then the above code will take 20 seconds because the sleeps run one after anothe

It is very important that any function called with `_jl_call_nogil` does not interact
with Python at all unless it re-locks the GIL first, such as by using
[PythonCall.GIL.@lock](@ref).
[`PythonCall.GIL.@lock`](@ref).

You can also use [multi-threading from Julia](@ref jl-multi-threading).

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pythoncall.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ functionality.

## Executing Python scripts

A common use case is calling multiple blocks of Python code from Julia interactively. This can be accomplished in PythonCall via the [@pyexec](@ref) macro. For example, the sentence parsing application in the [Getting started](@ref py_getting_started) section could be rewritten as:
A common use case is calling multiple blocks of Python code from Julia interactively. This can be accomplished in PythonCall via the [`@pyexec`](@ref) macro. For example, the sentence parsing application in the [Getting started](@ref py_getting_started) section could be rewritten as:

```julia-repl
julia> @pyexec """
Expand Down Expand Up @@ -135,7 +135,7 @@ julia> plusone
11.0
```

Here we demonstrate passing a named variable, `num`, via the use of the `=>` syntax again, and returning named output, with the last element, `plusone`, being cast to a Julia object via the `::` syntax. See [@pyexec](@ref), [@pyeval](@ref), and their functional forms [pyexec](@ref) and [pyeval](@ref), for more.
Here we demonstrate passing a named variable, `num`, via the use of the `=>` syntax again, and returning named output, with the last element, `plusone`, being cast to a Julia object via the `::` syntax. See [`@pyexec`](@ref), [`@pyeval`](@ref), and their functional forms [`pyexec`](@ref) and [`pyeval`](@ref), for more.

## Conversion between Julia and Python

Expand Down
Loading