Explorar o código

Reword the comment

Lidi Zheng %!s(int64=6) %!d(string=hai) anos
pai
achega
e8283e4818
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/python/grpcio/grpc/experimental/aio/_call.py

+ 1 - 1
src/python/grpcio/grpc/experimental/aio/_call.py

@@ -417,7 +417,7 @@ class UnaryStreamCall(Call, _base_call.UnaryStreamCall):
         if response_message is None:
         if response_message is None:
             # If the read operation failed, Core should explain why.
             # If the read operation failed, Core should explain why.
             await self._raise_rpc_error_if_not_ok()
             await self._raise_rpc_error_if_not_ok()
-            # If everything is okay, there is something wrong internally.
+            # If no exception raised, there is something wrong internally.
             assert False, 'Read operation failed with StatusCode.OK'
             assert False, 'Read operation failed with StatusCode.OK'
         else:
         else:
             return response_message
             return response_message