関数などの仕様(どういう処理をして何を戻り値とするのか、呼び出すのに必要なパラメーターなど)をその読み手に対して説明するために、その定義に埋め込んだ形で記述します。関数の説明みたいなものです。 ・拡張機能「Python Docstring Generator」を ...
It is written embedded in the definition of a function or similar to explain its specifications (what kind of processing it performs, what it returns, the parameters ...