### Steps To Reproduce ```sage sage: B = BipartiteGraph([(0,2), (0,3), (1,2), (1,3)]) sage: B.left, B.right ({0, 1}, {2, 3}) sage: B.clear() sage: B.left, B.right ({0, 1}, {2, 3}) ``` ### Expected Behavior should return empty sets `(set(), set())`. ### Actual Behavior The vertex sets `left` and `right` are not cleared, returning their original value before `B.clear()` was called. ### Additional Information _No response_ ### Environment - **OS**: Ubuntu 24.04.2 - **Sage Version**: 10.6 ### Checklist - [x] I have searched the existing issues for a bug report that matches the one I want to file, without success. - [x] I have read the documentation and troubleshoot guide