diff --git a/contrib/analyze_brprob.py b/contrib/analyze_brprob.py
index a482b5a18d2eb..ca42fa6a6c262 100755
--- a/contrib/analyze_brprob.py
+++ b/contrib/analyze_brprob.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
#
#
#
diff --git a/contrib/analyze_brprob_spec.py b/contrib/analyze_brprob_spec.py
index 0ec55419e7581..b8af7b9e6a57d 100755
--- a/contrib/analyze_brprob_spec.py
+++ b/contrib/analyze_brprob_spec.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import sys
import os
diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py
index 5da7a60f4b55c..623c82284e26c 100755
--- a/contrib/check-params-in-docs.py
+++ b/contrib/check-params-in-docs.py
@@ -19,7 +19,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
#
#
#
diff --git a/contrib/check_GNU_style.py b/contrib/check_GNU_style.py
index 55e49a09191a5..6b946a5bc3610 100755
--- a/contrib/check_GNU_style.py
+++ b/contrib/check_GNU_style.py
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import argparse
import sys
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index 9f5851c271f83..f1a120fa8d355 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
#
# The script requires python packages, which can be installed via pip3
# like this:
diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index eb14c56cc647d..6ae2a90404728 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
#
#
#
diff --git a/contrib/gcc-changelog/git_check_commit.py b/contrib/gcc-changelog/git_check_commit.py
index 86a2105b573d9..8cca9f439a585 100755
--- a/contrib/gcc-changelog/git_check_commit.py
+++ b/contrib/gcc-changelog/git_check_commit.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import argparse
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index 282f526a6c98c..87bec4e00f565 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import difflib
import os
diff --git a/contrib/gcc-changelog/git_email.py b/contrib/gcc-changelog/git_email.py
index 2f94816af563d..9d8e44e429def 100755
--- a/contrib/gcc-changelog/git_email.py
+++ b/contrib/gcc-changelog/git_email.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import os
import re
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py
index f61c521d1c236..03ec38c2cea8b 100755
--- a/contrib/gcc-changelog/git_repository.py
+++ b/contrib/gcc-changelog/git_repository.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
from datetime import datetime
diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index dd73a5b083240..92639ba626fda 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import argparse
import datetime
diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py
index 5b8c0beeace67..57247f34b9265 100755
--- a/contrib/gcc-changelog/test_email.py
+++ b/contrib/gcc-changelog/test_email.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import os
import tempfile
diff --git a/contrib/gen_autofdo_event.py b/contrib/gen_autofdo_event.py
index 8c0ef8bb1df57..4c201943b5c70 100755
--- a/contrib/gen_autofdo_event.py
+++ b/contrib/gen_autofdo_event.py
@@ -15,7 +15,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
# Run it with perf record -b -e EVENT program ...
# The Linux Kernel needs to support the PMU of the current CPU, and
diff --git a/contrib/mark_spam.py b/contrib/mark_spam.py
index 9bed7902e26ac..393d36217990a 100755
--- a/contrib/mark_spam.py
+++ b/contrib/mark_spam.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
#
#
#
diff --git a/contrib/unicode/gen-box-drawing-chars.py b/contrib/unicode/gen-box-drawing-chars.py
index 9a55266ab8432..09a9d1d01650e 100755
--- a/contrib/unicode/gen-box-drawing-chars.py
+++ b/contrib/unicode/gen-box-drawing-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import unicodedata
diff --git a/contrib/unicode/gen-combining-chars.py b/contrib/unicode/gen-combining-chars.py
index fb5ef50ba4cad..9f9365ca0a234 100755
--- a/contrib/unicode/gen-combining-chars.py
+++ b/contrib/unicode/gen-combining-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
from pprint import pprint
import unicodedata
diff --git a/contrib/unicode/gen-printable-chars.py b/contrib/unicode/gen-printable-chars.py
index 7684c086638bb..2d4ed4eed7bc5 100755
--- a/contrib/unicode/gen-printable-chars.py
+++ b/contrib/unicode/gen-printable-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
from pprint import pprint
import unicodedata
diff --git a/contrib/unicode/gen_wcwidth.py b/contrib/unicode/gen_wcwidth.py
index aa8d8b2cfd249..6628ea5c8e61d 100755
--- a/contrib/unicode/gen_wcwidth.py
+++ b/contrib/unicode/gen_wcwidth.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# . */
+# .
import sys
import os