From e2490d26a6ceb7307f958988a1b293ced080e90d Mon Sep 17 00:00:00 2001 From: Maxwell Muoto <41130755+max-muoto@users.noreply.github.com> Date: Thu, 23 May 2024 00:07:52 -0500 Subject: [PATCH] Fix docs --- README.md | 6 +++--- keychain_access/__init__.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e17d808..30fa348 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ pip install keychain_access import keychain_access # Store a password -keychain_access.set_password('my_service', 'my_account', 'my_password') +keychain_access.set('my_service', 'my_account', 'my_password') # Retrieve a password -password = keychain_access.get_password('my_service', 'my_account') +password = keychain_access.get('my_service', 'my_account') # Delete a password -keychain_access.delete_password('my_service', 'my_account') +keychain_access.delete('my_service', 'my_account') ``` ## License diff --git a/keychain_access/__init__.py b/keychain_access/__init__.py index b9c0f0d..8179335 100644 --- a/keychain_access/__init__.py +++ b/keychain_access/__init__.py @@ -4,13 +4,13 @@ import keychain_access # Store a password -keychain_access.set_password("my_service", "my_account", "my_password") +keychain_access.set("my_service", "my_account", "my_password") # Retrieve a password -password = keychain_access.get_password("my_service", "my_account") +password = keychain_access.get("my_service", "my_account") # Delete a password -keychain_access.delete_password("my_service", "my_account") +keychain_access.delete("my_service", "my_account") ``` """