Skip to content

Commit 912fc3e

Browse files
omrisarig13behrmann
authored andcommitted
README.md: Update python invocation in examples
The code examples in the README.md file were inconsistent - some of them were invoking the code with `python`, which others were using `python3` explicitly. This commit updates the examples in this file to always invoke the code with `python3`, to ensure they are also working in systems where `python` is not available.
1 parent e593ce0 commit 912fc3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See the [tests](https://github.com/varlink/python-varlink/tree/master/varlink/te
3131
```bash
3232
$ python3 -m varlink.tests.test_orgexamplemore --varlink="unix:/tmp/test" &
3333
[1] 6434
34-
$ python -m varlink.cli help unix:/tmp/test/org.example.more
34+
$ python3 -m varlink.cli help unix:/tmp/test/org.example.more
3535
# Example Varlink service
3636
interface org.example.more
3737

@@ -56,7 +56,7 @@ method StopServing() -> ()
5656
# Something failed in TestMore
5757
error TestMoreError (reason: string)
5858

59-
$ python -m varlink.cli call unix:/tmp/test/org.example.more.Ping '{ "ping": "Ping"}'
59+
$ python3 -m varlink.cli call unix:/tmp/test/org.example.more.Ping '{ "ping": "Ping"}'
6060
{
6161
"pong": "Ping"
6262
}

0 commit comments

Comments
 (0)