お疲れ様です。さて、function(関数)についても今日で最後になるかな? で、今日学習するのはDocstringについて。これプログラムじゃないんだけど、結構大事だったりするんだよね Docstringは関数内に、その関数がどのような処理を行うのかの説明のこと。
Docstrings for methods will contain a list of parameters and their type hints, list of raised exceptions and whether the method yields or raises. Class docstring will have a list of atributes. It uses ...
「docstring(ドックストリング)」を押さえると、 自分のコードを他人に説明できる力 が一気に上がります。 Pythonでは「有名な書き方(記法スタイル)」がいくつかあるので、まとめてご紹介しますね。 🐍 Docstring(ドックストリング)とは? 関数・クラス ...
Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills ...