doc/python: Fix shebang link (#105196)

This commit is contained in:
applePrincess 2020-11-28 12:06:50 +09:00 committed by GitHub
parent 85fe68bbc0
commit 698111962e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ The dot product of [1 2] and [3 4] is: 11
But if we maintain the script ourselves, and if there are more dependencies, it But if we maintain the script ourselves, and if there are more dependencies, it
may be nice to encode those dependencies in source to make the script re-usable may be nice to encode those dependencies in source to make the script re-usable
without that bit of knowledge. That can be done by using `nix-shell` as a without that bit of knowledge. That can be done by using `nix-shell` as a
[shebang](https://en.wikipedia.org/wiki/Shebang_(Unix), like so: [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)), like so:
```python ```python
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell