diff --git a/README.rst b/README.rst index 0470673..5b42eac 100644 --- a/README.rst +++ b/README.rst @@ -53,7 +53,7 @@ Specifies a specific `room` that you want to emit to. Emitter#In(room):Emitter ------------------------ -.. code-black:: python +.. code-block:: python io=Emitter({'host': 'localhost', 'port':6379}) io.In("room-name").Emit("news","Hello from python emitter"); @@ -61,31 +61,31 @@ Emitter#In(room):Emitter Emitter#To(room):Emitter ------------------------ -.. code-black:: python +.. code-block:: python - io=Emitter({'host': 'localhost', 'port':6379}) + io=Emitter({'host': 'localhost', 'port':6379}) - io.To("room-name").Emit("news","Hello from python emitter"); + io.To("room-name").Emit("news","Hello from python emitter"); -We are flattening the room parameter from [] and *argv, so you can also send to several rooms like this (both examples are valid): +We are flattening the room parameter from `[]` and `*argv`, so you can also send to several rooms like this (both examples are valid). -.. code-black:: python +.. code-block:: python - io=Emitter({'host': 'localhost', 'port':6379}) + io=Emitter({'host': 'localhost', 'port':6379}) - io.To(["room1", "room2"]).Emit("news","Hello from python emitter"); - io.To("room1", "room2").Emit("news","Hello from python emitter"); + io.To(["room1", "room2"]).Emit("news","Hello from python emitter"); + io.To("room1", "room2").Emit("news","Hello from python emitter"); Emitter#Of(namespace):Emitter ----------------------------- Specifies a specific namespace that you want to emit to. -.. code-black:: python +.. code-block:: python - io=Emitter({'host': 'localhost', 'port':6379}) + io=Emitter({'host': 'localhost', 'port':6379}) - io.Of("/nsp").In("room-name").Emit("news","Hello from python emitter"); + io.Of("/nsp").In("room-name").Emit("news","Hello from python emitter"); License ------- @@ -118,4 +118,4 @@ Open Source Projects in Use * `redis-py `_ by Andy McCurdy @andymccurdy * `msgpack-python `_ by MessagePack -z i λ a s a l. +@ziλasal & @abdullahselek