You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="k">class</span><spanclass="nc">my_math</span><spanclass="p">:</span><spanclass="c1"># Proxy class that introduces typings for the *submodule* my_math</span>
762
-
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
762
+
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
763
763
<spanclass="w"></span><spanclass="sd">"""This namespace is not ignored and introduces a new python module"""</span>
764
764
<spanclass="c1"># div and mul: divide or multiply float numbers</span>
765
765
<spanclass="c1"># (This comment concerns the two grouped</span>
<spanclass="k">class</span><spanclass="nc">my_namespace</span><spanclass="p">:</span><spanclass="c1"># Proxy class that introduces typings for the *submodule* my_namespace</span>
2253
-
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
2253
+
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
<spanclass="k">class</span><spanclass="nc">MyNamespace</span><spanclass="p">:</span><spanclass="c1"># Proxy class that introduces typings for the *submodule* MyNamespace</span>
3037
-
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
3037
+
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
<span class="k">class</span> <span class="nc">math_functions</span><span class="p">:</span> <span class="c1"># Proxy class that introduces typings for the *submodule* math_functions</span>
12192
-
<span class="k">pass</span> <span class="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
12192
+
<span class="k">pass</span> <span class="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
Copy file name to clipboardExpand all lines: docs/litgen_book/08_05_00_namespaces.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -828,7 +828,7 @@ <h1>Namespaces<a class="headerlink" href="#namespaces" title="Permalink to this
828
828
829
829
# <submodule inner>
830
830
class inner: # Proxy class that introduces typings for the *submodule* inner
831
-
pass # (This corresponds to a C++ namespace. All method are static!)
831
+
pass # (This corresponds to a C++ namespace. All methods are static!)
832
832
""" this is an inner namespace (this comment should become the namespace doc)"""
833
833
@staticmethod
834
834
def foo_inner() -> None:
@@ -928,7 +928,7 @@ <h1>Namespaces<a class="headerlink" href="#namespaces" title="Permalink to this
928
928
929
929
<spanclass="c1"># <submodule inner></span>
930
930
<spanclass="k">class</span><spanclass="nc">inner</span><spanclass="p">:</span><spanclass="c1"># Proxy class that introduces typings for the *submodule* inner</span>
931
-
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
931
+
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
932
932
<spanclass="w"></span><spanclass="sd">""" this is an inner namespace (this comment should become the namespace doc)"""</span>
<spanclass="k">class</span><spanclass="nc">root_ns</span><spanclass="p">:</span><spanclass="c1"># Proxy class that introduces typings for the *submodule* root_ns</span>
1004
-
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All method are static!)</span>
1004
+
<spanclass="k">pass</span><spanclass="c1"># (This corresponds to a C++ namespace. All methods are static!)</span>
0 commit comments