From 856898b3958626d2400e59b53dc134283addc988 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 30 Dec 2010 22:11:50 +0000 Subject: Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo. --- Tools/demo/rpythond.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Tools/demo/rpythond.py') diff --git a/Tools/demo/rpythond.py b/Tools/demo/rpythond.py index fe24b3df94..9ffe13ab4f 100755 --- a/Tools/demo/rpythond.py +++ b/Tools/demo/rpythond.py @@ -1,9 +1,12 @@ -#! /usr/bin/env python3 +#!/usr/bin/env python3 -# Remote python server. -# Execute Python commands remotely and send output back. -# WARNING: This version has a gaping security hole -- it accepts requests -# from any host on the Internet! +""" +Remote python server. +Execute Python commands remotely and send output back. + +WARNING: This version has a gaping security hole -- it accepts requests +from any host on the Internet! +""" import sys from socket import socket, AF_INET, SOCK_STREAM -- cgit v1.2.1