Skip to content

Commit 20458cd

Browse files
committed
Update the basic example and unnecessary --upgrade on dev install.
1 parent 8b3efc4 commit 20458cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ Installing
3434

3535
.. code:: sh
3636
37-
# Linux/OS X
37+
# Linux/macOS
3838
python3 -m pip install -U coc.py
3939
4040
# Windows
4141
py -3 -m pip install -U coc.py
4242
4343
# to install the development version:
44-
python3 -m pip install -U git+https://github.com/mathsman5133/coc.py --upgrade
44+
python3 -m pip install -U git+https://github.com/mathsman5133/coc.py
4545
4646
4747
Quick Example
@@ -82,7 +82,7 @@ This script will run forever, printing to the terminal whenever someone joins th
8282
8383
@client.event
8484
async def on_clan_member_join(player, clan):
85-
print('{0.name} ({0.tag}) just joined {1.name} ({1.tag})!')
85+
print('{0.name} ({0.tag}) just joined {1.name} ({1.tag})!'.format(player, clan))
8686
8787
client.add_clan_update('tag')
8888

0 commit comments

Comments
 (0)