1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

fix doc code example

Fixed nix shell's doc's shebang python example
This commit is contained in:
Manse 2025-08-17 00:39:41 -03:00
parent 0fd9ef0cf3
commit ccc0a31f39
No known key found for this signature in database
GPG key ID: EEF67166991A14A2

View file

@ -83,7 +83,7 @@ import prettytable
# Print a simple table. # Print a simple table.
t = prettytable.PrettyTable(["N", "N^2"]) t = prettytable.PrettyTable(["N", "N^2"])
for n in range(1, 10): t.add_row([n, n * n]) for n in range(1, 10): t.add_row([n, n * n])
print t print(t)
``` ```
Similarly, the following is a Perl script that specifies that it Similarly, the following is a Perl script that specifies that it