def is_enabled(user, telopt, party, state=YES):
- u"""Returns True if the indicated Telnet option is enabled, False if not."""
+ u"""Returns True if the indicated Telnet option is enabled, False if
+ not."""
if (telopt, party) in user.telopts and user.telopts[
(telopt, party)
] is state:
def disable(user, telopt, party):
- u"""Negotiates disabling a Telnet option for the indicated user's socket."""
+ u"""Negotiates disabling a Telnet option for the indicated user's
+ socket."""
if party is HIM:
txneg = DONT
else: