forked from MechanicalSoup/MechanicalSoup
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stateful_browser: self.url -> self.__state.url for internal consumers
Be consistent and use self.__state.url over the self.url() @Property for internal consumers. Discussed somewhat in MechanicalSoup#362, the logic being that: self.url is an interface for external callers to get access to the internal state, and there's no reason to force the internal users to do so. There's extra cognitive load for readers of the code to follow through the indirection.
- Loading branch information
1 parent
92bb543
commit d4073ce
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters