Skip to content

f2py user's guide uses python 2 syntax for print #14812

Closed
@melissawm

Description

@melissawm

For example, in the section Using F2PY bindings in Python there is an example with instructions such as

In Python:

    >>> import ftype
    >>> print ftype.__doc__
    This module 'ftype' is auto-generated with f2py (version:2.28.198-1366).
    Functions:
      foo(n=13)
    COMMON blocks:
      /data/ a,x(3)
    .

If this is relevant I'm happy to submit a PR making sure that the docs are compatible with Python 3.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions