forked from Qiskit/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the properties that were incorrectly marked as methods in Qiskit …
…0.24-0.28 (Qiskit#1387) Closes Qiskit#1352 We have 18989 misclassified properties across different versions of Qiskit (0.24 - 0.28). To fix them, this PR added an early return to the `getApiType()` to return the correct `apyType` in case a member has the property modifier. This is an example of the HTML of a property: ```html <dl class="py method"> <dt id="qiskit.circuit.Measure.definition"> <em class="property">property </em><code class="sig-name descname">definition</code><a class="headerlink" href="#qiskit.circuit.Measure.definition" title="Permalink to this definition">¶</a></dt> <dd><p>Return definition in terms of other basic gates.</p> </dd></dl> ``` The script searches for the `property` modifier inside the `<dt>` tag inside the `<dl>` tag.
- Loading branch information
1 parent
37676b1
commit 8c73e75
Showing
2,940 changed files
with
37,932 additions
and
37,919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.