Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daler-sz committed Jan 26, 2024
1 parent f66b269 commit f32cd58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adaptix/_internal/morphing/facade/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ def enum_by_value(first_pred: EnumPred, /, *preds: EnumPred, tp: TypeHint) -> Pr

def flag_by_exact_value(*preds: EnumPred) -> Provider:
"""Provider that represents flag members to the outside world by their value without any processing.
It does not support flags with skipped bits and negative values (it is recommended to use enum.auto() to define flag
values instead of manually specifying them).
It does not support flags with skipped bits and negative values (it is recommended to use ``enum.auto()``
to define flag values instead of manually specifying them).
:param preds: Predicates specifying where the provider should be used.
The provider will be applied if any predicates meet the conditions,
Expand Down

0 comments on commit f32cd58

Please sign in to comment.