任务单 #9198

pep-0341.txt
开放日期: 2006-10-18 16:05 最后更新: 2006-10-21 15:42

报告人:
(匿名)
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
1

Details

小倉正充
kuromuu@gmail.com

任务单历史 (2/2 Histories)

2006-10-18 16:05 Updated by: None
  • File 1585: pep-0341.txt is attached
2006-10-21 15:42 Updated by: mft
评论
Logged In: YES
user_id=9842

コメントを2点。


Versionが456161となっていますが、原文は45616です。


理由/提案の最初の部分ですが、原文は
There are many use cases for the try-except statement and
for the try-finally statement per se; however, often one
needs
to catch exceptions and execute some cleanup code
afterwards.
で、訳文は
try-except文とtry-finally文それ自体多くの使い方がありま
すが、たい
てい例外を捕捉し、何か後始末をするコードを実行するだけです。
となっています。
自分なりに理解した所では、「try-except文とtry-finally文は別
々に使われることが多いけど、混ぜて使わなければいけないことも
ある。」といった意味だと思いました。訳文は however や need
が利いていないように感じられますが、いかがでしょうか。

Attachment File List

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名