Commit 87b120f
authored
Some references to a removed `c14n` serialization method remained in
ElementTree.py. Attempting to use `method='c14n'` in the `write()`
method would result in `ValueError: unknown method 'c14n'`.
Removes the `write_c14n()` method that uses `method='c14n'` and also
raises the same error.
1 parent 1286d43 commit 87b120f
3 files changed
Lines changed: 19 additions & 12 deletions
File tree
- Doc/whatsnew
- Lib/xml/etree
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
730 | 741 | | |
731 | 742 | | |
732 | 743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
| 733 | + | |
737 | 734 | | |
738 | 735 | | |
739 | 736 | | |
| |||
749 | 746 | | |
750 | 747 | | |
751 | 748 | | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | 749 | | |
757 | 750 | | |
758 | 751 | | |
| |||
987 | 980 | | |
988 | 981 | | |
989 | 982 | | |
990 | | - | |
991 | | - | |
992 | 983 | | |
993 | 984 | | |
994 | 985 | | |
| |||
1100 | 1091 | | |
1101 | 1092 | | |
1102 | 1093 | | |
1103 | | - | |
| 1094 | + | |
1104 | 1095 | | |
1105 | 1096 | | |
1106 | 1097 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments