Skip to content

Typo in docs #111

@guettli

Description

@guettli

There is a typo in the docs at https://sap.github.io/PyRFC/client.html

The example source code starts with these two lines:

except ModuleNotFoundError as e:
    from configparser import ConfigParser

This does not make any sense.

Maybe something like this would make sense to support Python2 and Python3 (untested)

try:
    from ConfigParser import ConfigParser
except ImportError:
    from configparser import ConfigParser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions