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
<spanid="two-to-three-changes"></span><h1>Incompatible differences between versions 2.x and 3.x<aclass="headerlink" href="#incompatible-differences-between-versions-2-x-and-3-x" title="Permalink to this headline">¶</a></h1>
123
+
<spanid="two-to-three-changes"></span><h1>Incompatible differences between versions 2.x and 3.x<aclass="headerlink" href="#incompatible-differences-between-versions-2-x-and-3-x" title="Link to this heading">¶</a></h1>
126
124
<p>For those familiar with the cf-python API at version 2.x, some
127
125
important, backwards incompatible changes were introduced at version
128
126
3.0.0.</p>
@@ -134,12 +132,12 @@ <h3>Related Topics</h3>
134
132
<p>For version 2.x documentation, see the <aclass="reference internal" href="releases.html#releases"><spanclass="std std-ref">releases</span></a>
135
133
page.</p>
136
134
<sectionid="python">
137
-
<h2>Python<aclass="headerlink" href="#python" title="Permalink to this headline">¶</a></h2>
135
+
<h2>Python<aclass="headerlink" href="#python" title="Link to this heading">¶</a></h2>
138
136
<p>Version 3.x only works for Python 3.5 or later. Version 2.x only works
139
137
for python version 2.7.</p>
140
138
</section>
141
139
<sectionid="in-place-operations">
142
-
<h2>In-place operations<aclass="headerlink" href="#in-place-operations" title="Permalink to this headline">¶</a></h2>
140
+
<h2>In-place operations<aclass="headerlink" href="#in-place-operations" title="Link to this heading">¶</a></h2>
143
141
<p>At version 3.x, in-place operations return <aclass="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">None</span></code></a>, rather than the
144
142
modified construct. The keyword that defines the operation to be
145
143
in-place is now <em>inplace</em> (rather than <em>i</em>).</p>
<h2>Field creation<aclass="headerlink" href="#field-creation" title="Permalink to this headline">¶</a></h2>
154
+
<h2>Field creation<aclass="headerlink" href="#field-creation" title="Link to this heading">¶</a></h2>
157
155
<p>Field construct creation is has changed in two notable ways:</p>
158
156
<p>Firstly, a single method <aclass="reference internal" href="method/cf.Field.set_construct.html#cf.Field.set_construct" title="cf.Field.set_construct"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">cf.Field.set_construct</span></code></a> has replaced the
<h2>New methods that replace deprecated ones<aclass="headerlink" href="#new-methods-that-replace-deprecated-ones" title="Permalink to this headline">¶</a></h2>
177
+
<h2>New methods that replace deprecated ones<aclass="headerlink" href="#new-methods-that-replace-deprecated-ones" title="Link to this heading">¶</a></h2>
180
178
<p>Version 3.x methods that replace deprecated version 2.x methods:</p>
<h2>Changes to the API of existing methods<aclass="headerlink" href="#changes-to-the-api-of-existing-methods" title="Permalink to this headline">¶</a></h2>
243
+
<h2>Changes to the API of existing methods<aclass="headerlink" href="#changes-to-the-api-of-existing-methods" title="Link to this heading">¶</a></h2>
250
244
<p>Methods that have a different API in version 3.x</p>
0 commit comments