[Python] Fix "too many leading '#' for block comment"

See discussion with @gribozavr in https://github.com/apple/swift/pull/1287#issuecomment-183413319
This commit is contained in:
practicalswift
2016-02-12 22:59:57 +01:00
parent 29ce0fec1b
commit 970216434d
6 changed files with 33 additions and 39 deletions

View File

@@ -1,14 +1,12 @@
##===--------------------------------------------------*- coding: utf-8 -*-===##
##
## This source file is part of the Swift.org open source project
##
## Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
## Licensed under Apache License v2.0 with Runtime Library Exception
##
## See http://swift.org/LICENSE.txt for license information
## See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
##
##===----------------------------------------------------------------------===##
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
import re
import codecs