Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto committed May 23, 2024
1 parent fce8608 commit e2490d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions keychain_access/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```
"""

Expand Down

0 comments on commit e2490d2

Please sign in to comment.