| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Update the implementation of attributes `name` setter to correctly replace the attribute in the owner element. The update is divided in three main steps: 1. update the implementation of `Attr._set_name` to behave more similarly to `Document.renameNode` 2. update the implementation of `Document.renameNode` to use `Attr._set_name` if the node is of type "attribute" 3. create a new function `_parseName`, that is used in both `Attr._set_name` and `Document.renameNode`, to reduce code duplication
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
@potomak, please sign the CLA (just click the button and follow instructions). We need this to be able to merge this PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Update the implementation of attributes name setter to correctly
replace the attribute in the owner element.
The update is divided in three main steps:
update the implementation of Attr._set_name to behave more
similarly to Document.renameNode
update the implementation of Document.renameNode to use
Attr._set_name if the node is of type "attribute"
create a new function _parseName, that is used in both
Attr._set_name and Document.renameNode, to reduce code
duplication
https://bugs.python.org/issue13127