diff --git a/docs/tube.rst b/docs/tube.rst index 7d2a124..48c308d 100644 --- a/docs/tube.rst +++ b/docs/tube.rst @@ -44,7 +44,7 @@ Let's look at the full example that turns ``echo`` into a real server. To *use* ``echo`` as a server, first we have to tell Tubes that it's a :py:func:`drain ` that wants :py:func:`flow `\ s. We do this by wrapping it in a :py:func:`Listener `\ . -Next, we need to actually listen on a port: we do this with Twisted's `"endpoints" API `_ ; specifically, we use ``serverFromString`` on the string ``"stdio:"`` by default, which treats the console as an incoming connection so we can type directly into it, and see the results as output. +Next, we need to actually listen on a port: we do this with Twisted's `"endpoints" API `_ ; specifically, we use ``serverFromString`` on the string ``"stdio:"`` by default, which treats the console as an incoming connection so we can type directly into it, and see the results as output. Next, we need to convert this endpoint into a :py:func:`fount ` with an ``outputType`` of :py:func:`Flow `. To do this, we use the aptly named :py:func:`flowFountFromEndpoint `.