Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better document UserDict and remove unnecessary references to self.data. #127

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

JoeZiminski
Copy link
Member

The use of UserDict is a little obscure, and it is not clear that the dictionary for the UserDict object is held in self.data. Here, only use self.data if necessary, otherwise access dictionary items with self[key]. Further, add better documentation on the UserDict.

@JoeZiminski JoeZiminski changed the title Better document UserDict and remove uncessary references to self.data. Better document UserDict and remove unnecessary references to self.data. Oct 3, 2023
@JoeZiminski JoeZiminski force-pushed the remove_references_to_self_data_in_userdict branch from a9a4c8c to ea3414d Compare October 3, 2023 15:52
@JoeZiminski JoeZiminski mentioned this pull request Oct 3, 2023
@JoeZiminski JoeZiminski force-pushed the remove_references_to_self_data_in_userdict branch from ea3414d to 84c93a0 Compare November 16, 2023 18:33
@JoeZiminski JoeZiminski merged commit 392028e into dev Nov 16, 2023
1 of 2 checks passed
@JoeZiminski JoeZiminski deleted the remove_references_to_self_data_in_userdict branch November 16, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants