Update comment

pull/20514/head
Esun Kim 5 years ago
parent 4fd4e5c721
commit 91f31ad47d
  1. 3
      setup.py
  2. 3
      tools/distrib/python/grpcio_tools/setup.py

@ -140,8 +140,7 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.get(
'GRPC_PYTHON_ENABLE_DOCUMENTATION_BUILD', False)
def check_linker_need_libatomic():
"""Test if linker on system needs libatomic.
"""
"""Test if linker on system needs libatomic."""
code_test = (b'#include <atomic>\n' +
b'int main() { return std::atomic<int64_t>{}; }')
cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],

@ -67,8 +67,7 @@ BUILD_WITH_CYTHON = os.environ.get('GRPC_PYTHON_BUILD_WITH_CYTHON', False)
def check_linker_need_libatomic():
"""Test if linker on system needs libatomic.
"""
"""Test if linker on system needs libatomic."""
code_test = (b'#include <atomic>\n' +
b'int main() { return std::atomic<int64_t>{}; }')
cc_test = subprocess.Popen(

Loading…
Cancel
Save