<commit_before>to run example showing bug with f2py in Numpy 1.9 and 1.10 and possibly 
others, first compile::

    f2py -m fortprod -c fortprod.f

then::

    python f2py_demo.py

If you add to fortprod.f in subroutine ProdInOut the line::

    !f2py intent(in,out) :: z

it will work. `This is a bug <https://github.com/numpy/numpy/issues/6654>`_.

It will **not** work with::
    
    !f2py intent(inout) :: z<commit_msg>Update README.rst<commit_after>to run example showing bug with f2py in Numpy 1.9 and 1.10 and possibly 
others, first compile::

    f2py -m fortprod -c fortprod.f

then::

    python f2py_demo.py

Note
====
If the subroutine you want to interface Python with has for a particular variable::

    Intent(inout) :: myvariable
    
you must add::

    !f2py intent(in,out) :: myvariable

It will **not** work with::
    
    !f2py intent(inout) :: myvariable
{'fraction_non_alphanumeric': 0.10442678774120318, 'fraction_numerical': 0.02724177071509648, 'mean_word_length': 3.2815533980582523, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3986559', 'n_tokens_mistral': 323, 'n_tokens_neox': 305, 'n_words': 110}