Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Evidlo committed Apr 9, 2024
1 parent 498bfcd commit 61db593
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pykeepass/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,11 @@ def _set_string_field(self, key, value, protected=None):
Args:
key (str): name of field
value (str): value of field
protected (bool): mark whether the field should be protected in memory
in other tools. This property is ignored in PyKeePass and all
fields are decrypted immediately upon opening the database.
protected (bool or None): mark whether the field should be protected in memory
in other tools. If None, value is either copied from existing field or field
is created with protected property unset.
Note: pykeepass does not support memory protection
"""
field = self._xpath('String/Key[text()="{}"]/..'.format(key), history=True, first=True)

Expand Down

0 comments on commit 61db593

Please sign in to comment.