File: python3-shebang.patch

package info (click to toggle)
python-docopt-ng 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408 kB
  • sloc: python: 1,821; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Executive python3, using the env program search path to find it
Author: Hugh McMaster <hmc@debian.org>
Forwarded: https://github.com/jazzband/docopt-ng/pull/58
Last-Update: 2023-09-20

--- a/examples/git/git.py
+++ b/examples/git/git.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python3
 """
 usage: git [--version] [--exec-path=<path>] [--html-path]
            [-p|--paginate|--no-pager] [--no-replace-objects]
--- a/examples/interactive_example.py
+++ b/examples/interactive_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 This example uses docopt with the built in cmd module to demonstrate an
 interactive command application.