diff --git a/binding/python/bench_test.py b/binding/python/bench_test.py index 7d6aa4f..2c1c8c3 100644 --- a/binding/python/bench_test.py +++ b/binding/python/bench_test.py @@ -1,6 +1,6 @@ -# -# bench_test.py -# bench_test +# Copyright 2022 The Ip2Region Authors. All rights reserved. +# Use of this source code is governed by a Apache2.0-style +# license that can be found in the LICENSE file. # # Created by luckydog on 2022/7/1. # Copyright © 2022年 luckydog. All rights reserved. diff --git a/binding/python/iptest.py b/binding/python/iptest.py index 428b283..0f8db9f 100644 --- a/binding/python/iptest.py +++ b/binding/python/iptest.py @@ -1,3 +1,7 @@ +# Copyright 2022 The Ip2Region Authors. All rights reserved. +# Use of this source code is governed by a Apache2.0-style +# license that can be found in the LICENSE file. +# from xdbSearcher import XdbSearcher @@ -49,4 +53,4 @@ def searchWithContent(): if __name__ == '__main__': searchWithContent() - \ No newline at end of file + diff --git a/binding/python/search_test.py b/binding/python/search_test.py index c3adca8..742a2d9 100644 --- a/binding/python/search_test.py +++ b/binding/python/search_test.py @@ -1,6 +1,6 @@ -# -# search_test.py -# search_test +# Copyright 2022 The Ip2Region Authors. All rights reserved. +# Use of this source code is governed by a Apache2.0-style +# license that can be found in the LICENSE file. # # Created by luckydog on 2022/7/1. # Copyright © 2022年 luckydog. All rights reserved. diff --git a/binding/python/xdbSearcher.py b/binding/python/xdbSearcher.py index eddc847..31340d2 100644 --- a/binding/python/xdbSearcher.py +++ b/binding/python/xdbSearcher.py @@ -1,6 +1,6 @@ -# -# ip2Region.py -# ip2Region +# Copyright 2022 The Ip2Region Authors. All rights reserved. +# Use of this source code is governed by a Apache2.0-style +# license that can be found in the LICENSE file. # # Created by luckydog on 2022/6/29. # Copyright © 2022年 luckydog. All rights reserved. @@ -188,4 +188,4 @@ if __name__ == '__main__': for ip in ip_array: region_str = searcher.searchByIPStr(ip) print(region_str) - searcher.close() \ No newline at end of file + searcher.close()