projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up docstrings
[mudpy.git]
/
lib
/
mudpy
/
telnet.py
diff --git
a/lib/mudpy/telnet.py
b/lib/mudpy/telnet.py
index
471f9fd
..
a4264ce
100644
(file)
--- a/
lib/mudpy/telnet.py
+++ b/
lib/mudpy/telnet.py
@@
-60,8
+60,7
@@
def send_command(user, *command):
def is_enabled(user, telopt, party, state=YES):
def is_enabled(user, telopt, party, state=YES):
- """Returns True if the indicated Telnet option is enabled, False if
- not."""
+ """Indicates whether a specified Telnet option is enabled."""
if (telopt, party) in user.telopts and user.telopts[
(telopt, party)
] is state:
if (telopt, party) in user.telopts and user.telopts[
(telopt, party)
] is state:
@@
-88,8
+87,7
@@
def enable(user, telopt, party):
def disable(user, telopt, party):
def disable(user, telopt, party):
- """Negotiates disabling a Telnet option for the indicated user's
- socket."""
+ """Negotiates disabling a Telnet option for the user's socket."""
if party is HIM:
txneg = DONT
else:
if party is HIM:
txneg = DONT
else: