From 8e3d09b811838f7e2f025160e7fa190020ddc0b0 Mon Sep 17 00:00:00 2001 From: milde Date: Mon, 3 Jan 2022 23:49:39 +0000 Subject: Remove "coding:" slug Only required with Python 2.x. Encoding in Py3k is utf8 by default. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8926 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/tools/dev/generate_punctuation_chars.py | 2 -- docutils/tools/docutils-cli.py | 1 - docutils/tools/rst2html5.py | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'docutils/tools') diff --git a/docutils/tools/dev/generate_punctuation_chars.py b/docutils/tools/dev/generate_punctuation_chars.py index cc6c67229..08d2a11c9 100644 --- a/docutils/tools/dev/generate_punctuation_chars.py +++ b/docutils/tools/dev/generate_punctuation_chars.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # :Copyright: © 2011, 2017 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # @@ -49,7 +48,6 @@ else: # Problem: ``ur`` prefix fails with Py 3.5 :: module_template = u'''#!/usr/bin/env python3 -# -*- coding: utf-8 -*- # :Id: $Id$ # :Copyright: © 2011, 2017 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: diff --git a/docutils/tools/docutils-cli.py b/docutils/tools/docutils-cli.py index f1579d158..8a0aab6b9 100755 --- a/docutils/tools/docutils-cli.py +++ b/docutils/tools/docutils-cli.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf8 -*- # :Copyright: © 2020 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # diff --git a/docutils/tools/rst2html5.py b/docutils/tools/rst2html5.py index e05265b52..ce49466e8 100755 --- a/docutils/tools/rst2html5.py +++ b/docutils/tools/rst2html5.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python -# -*- coding: utf8 -*- +#!/usr/bin/env python3 # :Copyright: © 2015 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # -- cgit v1.2.1