From 8c8b668ba3684c3e756bf9fccafbd1bd8e1a7cfe Mon Sep 17 00:00:00 2001 From: Mark McDonald Date: Thu, 10 Nov 2022 18:04:42 -0800 Subject: [PATCH] Fix comment for `mediapipe` license. The `"""` comment indicates a public docstring for the module, and will end up in the generated docs. By using a "private" comment (`#`) we will not document the license as part of the API. The Apache license is noted in the footer of generated docs, and this is sufficient. PiperOrigin-RevId: 487688719 --- mediapipe/__init__.py | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/mediapipe/__init__.py b/mediapipe/__init__.py index 69d7dfc6..bf29fed3 100644 --- a/mediapipe/__init__.py +++ b/mediapipe/__init__.py @@ -1,14 +1,13 @@ -"""Copyright 2019 - 2020 The MediaPipe Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" +# Copyright 2019 - 2022 The MediaPipe Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License.