Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dberardo-com authored Apr 4, 2023
1 parent 865ecc6 commit dee2757
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The classic observer pattern uses two classes:
## Example usage
The below example application resides in observer.py and can be run by running the module.
```python
from Observer import Observable, Observer
from observer import Observable, Observer

class NewValueSubscriber(Observer):
def __init__(self):
Expand Down Expand Up @@ -66,3 +66,9 @@ Get this package by issuing the following command:
```console
$ pip install git+https://github.com/FrederikBjorne/python-observer
```

then import it like this:

```
from observer import ...
```

0 comments on commit dee2757

Please sign in to comment.