pytho****@googl*****
pytho****@googl*****
2013年 3月 25日 (月) 18:17:21 JST
Status: New Owner: ---- New issue 629 by nishi****@gmail*****: 「objects」を「関数」と訳してい る http://code.google.com/p/python-doc-ja/issues/detail?id=629 http://docs.python.jp/2/extending/extending.html#null に単純な誤訳があります。 最小限の修正 - 引数に対して NULL テストを行わない理由は、こうした関数群はしばしば受け取っ た関数を他の関数へと引き渡すからです + 引数に対して NULL テストを行わない理由は、こうした関数群はしばしば受け取っ たオブジェクトを他の関数へと引き渡すからです 原文 In general, functions that take object references as arguments do not expect you to pass them NULL pointers, and will dump core (or cause later core dumps) if you do so. Functions that return object references generally return NULL only to indicate that an exception occurred. The reason for not testing for NULL arguments is that functions often pass the objects they receive on to other function ― if each function were to test for NULL, there would be a lot of redundant tests and the code would run more slowly. 追加で s/こうした関数群/関数/ としたほうがよいように思います。functionsの前 のthatはfunctionsを修飾しているのではなく、名詞節だからです。 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings