瀏覽代碼

Correct comment wording

Lidi Zheng 5 年之前
父節點
當前提交
9a3ddd8d76
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/python/grpcio/grpc/experimental/aio/_call.py

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

@@ -321,7 +321,7 @@ class UnaryUnaryCall(Call, _base_call.UnaryUnaryCall):
         try:
         try:
             response = yield from self._call
             response = yield from self._call
         except asyncio.CancelledError:
         except asyncio.CancelledError:
-            # Even if we converted all other CancelledError, there is still
+            # Even if we caught all other CancelledError, there is still
             # this corner case. If the application cancels immediately after
             # this corner case. If the application cancels immediately after
             # the Call object is created, we will observe this
             # the Call object is created, we will observe this
             # `CancelledError`.
             # `CancelledError`.