Skip to content

Commit 72cd19b

Browse files
authored
added syntax highlighting
1 parent 17b6f38 commit 72cd19b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The client passed to the callback is the client that left, sent the message, etc
8585

8686

8787
Example:
88-
````
88+
````py
8989
import logging
9090
from websocket_server import WebsocketServer
9191

@@ -101,10 +101,10 @@ server.run_forever()
101101

102102
Client is just a dictionary passed along methods.
103103

104-
````
104+
```py
105105
{
106106
'id' : client_id,
107107
'handler' : client_handler,
108108
'address' : (addr, port)
109109
}
110-
````
110+
```

0 commit comments

Comments
 (0)