Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jun 29, 2023
1 parent 666f5c0 commit 757e2f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ubelt/util_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ class Cacher(object):
cfgstr (str | None):
Deprecated in favor of ``depends``.
Related:
..[JobLibMemory] https://joblib.readthedocs.io/en/stable/memory.html
Example:
>>> import ubelt as ub
>>> depends = 'repr-of-params-that-uniquely-determine-the-process'
Expand Down
4 changes: 4 additions & 0 deletions ubelt/util_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,9 @@ class SetDict(dict):
from all dictionaries where the key appears an odd number of times.
Rightmost values take priority.
The full set of set operations was originally rejected in [Pep584]_, but
this module seeks to address some of these concerns.
Note:
The reason righmost values take priority in union /
symmetric_difference and left-most values take priority in intersection
Expand Down Expand Up @@ -1065,6 +1068,7 @@ class SetDict(dict):
References:
.. [RubyMerge] https://ruby-doc.org/core-2.7.0/Hash.html#method-i-merge
.. [Pep584] https://peps.python.org/pep-0584/#what-about-the-full-set-api
CommandLine:
xdoctest -m ubelt.util_dict SetDict
Expand Down

0 comments on commit 757e2f2

Please sign in to comment.