Project

General

Profile

Bug #3429

Incorrect documentation results in broken example

Added by Anonymous 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
2018-10-12
Due date:
% Done:

0%

Estimated time:
Version:

Description

The code snippets in the Echobot Quickstart (https://slixmpp.readthedocs.io/getting_started/echobot.html) are inconsistent with the final program example and, if followed, do not work.

There are a number of differences, but the break is caused by:

    if xmpp.connect():
        xmpp.process(block=True)
    else:
        print('Unable to connect')

Also available in: Atom PDF