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
It is confusing that the user calls page.edit() to retrieve the text of a page, and page.save(...) to edit the text of a page. Consider deprecating/renaming these functions to improve usability.
The text was updated successfully, but these errors were encountered:
Changing page.edit to page.text or page.content would be better! Keeping page.save might be ok if page.edit was gone, since changing it topage.edit would be even more confusing.
since the method does not edit the page, but returns the text of the
page. The old method name still works, but issues a DeprecationWarning.
Note that DeprecationWarnings are silent by default, so we might
consider to elevate it in some future version.
It is confusing that the user calls
page.edit()
to retrieve the text of a page, andpage.save(...)
to edit the text of a page. Consider deprecating/renaming these functions to improve usability.The text was updated successfully, but these errors were encountered: