Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Mar 26, 2024
1 parent aad0baf commit fa53750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-doc/architecture-and-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ For more info about virtual events, see [virtual-events.md](virtual-events.md).

You might have noticed that Porcupine has things like `get_main_window()` and `get_directory_tree()`.
Internally, these functions use global variables to just give you the thing you need.
Many of these functions global variables are defined in `porcupine/_state.py`.
Many of these functions and global variables are defined in `porcupine/_state.py`.

If you hate global variables, you're right,
but sometimes a small amount of global variables just makes things a lot easier.
Expand Down

0 comments on commit fa53750

Please sign in to comment.