home · contact · privacy
Improve feedback on negative energy, and invert it at <100.
[plomrogue2] / plomrogue / io_tcp.py
index 09b9db1bbf3d0f47539a2c4aaea27aacd9c0c18c..93fa68e7f604d7f50887a91c0673104f3731e30c 100644 (file)
@@ -15,7 +15,7 @@ class PlomSocket:
     def send(self, message, silent_connection_break=False):
         """Send via self.socket, encoded/delimited as way recv() expects.
 
-        In detail, all \ and $ in message are escaped with prefixed \,
+        In detail, all \\ and $ in message are escaped with prefixed \\,
         and an unescaped $ is appended as a message delimiter. Then,
         socket.send() is called as often as necessary to ensure
         message is sent fully, as socket.send() due to buffering may
@@ -60,7 +60,7 @@ class PlomSocket:
 
         In detail, socket.recv() is looped over for sequences of bytes
         that can be decoded as a Unicode string delimited by an
-        unescaped $, with \ and $ escapable by \. If a sequence of
+        unescaped $, with \\ and $ escapable by \\. If a sequence of
         characters that ends in an unescaped $ cannot be decoded as
         Unicode, None is returned as its representation. Stop once
         socket.recv() returns nothing.