Skip to content

Commit

Permalink
Fix missing backwards compat for HashSet.popitem()
Browse files Browse the repository at this point in the history
  • Loading branch information
GrieferAtWork committed Dec 15, 2024
1 parent 555fd15 commit de972eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/deemon/objects/hashset.c
Original file line number Diff line number Diff line change
Expand Up @@ -1992,6 +1992,9 @@ PRIVATE struct type_method tpconst hashset_methods[] = {
TYPE_METHOD_HINTREF(seq_clear),

/* Alternative function names. */
TYPE_METHOD(STR_popitem, &DeeMH_set_pop,
"(def?)->\n"
"Deprecated alias for ?#pop"),
TYPE_METHOD("add", &DeeMH_set_insert,
"(ob)->?Dbool\n"
"Deprecated alias for ?#insert"),
Expand Down

0 comments on commit de972eb

Please sign in to comment.