<commit_before>:mod:`objgraph`
===============

.. automodule:: objgraph

.. currentmodule:: objgraph


Statistics
----------

.. autofunction:: count(typename[, objects])

.. autofunction:: typestats([objects])

.. autofunction:: most_common_types([limit=10, objects, shortnames=True])

.. autofunction:: show_most_common_types([limit=10, objects, shortnames=True, file=sys.stdout])

.. autofunction:: show_growth([limit=10, peak_stats={}, shortnames=True, file=sys.stdout])


Locating and Filtering Objects
------------------------------

.. autofunction:: get_leaking_objects([objects])

.. autofunction:: by_type(typename[, objects])

.. autofunction:: at

.. autofunction:: is_proper_module(obj)


Traversing and Displaying Object Graphs
---------------------------------------<commit_msg>Docs: update the signature for typestats()<commit_after>:mod:`objgraph`
===============

.. automodule:: objgraph

.. currentmodule:: objgraph


Statistics
----------

.. autofunction:: count(typename[, objects])

.. autofunction:: typestats([objects, shortnames=True])

.. autofunction:: most_common_types([limit=10, objects, shortnames=True])

.. autofunction:: show_most_common_types([limit=10, objects, shortnames=True, file=sys.stdout])

.. autofunction:: show_growth([limit=10, peak_stats={}, shortnames=True, file=sys.stdout])


Locating and Filtering Objects
------------------------------

.. autofunction:: get_leaking_objects([objects])

.. autofunction:: by_type(typename[, objects])

.. autofunction:: at

.. autofunction:: is_proper_module(obj)


Traversing and Displaying Object Graphs
---------------------------------------
{'fraction_non_alphanumeric': 0.24541003671970624, 'fraction_numerical': 0.0073439412484700125, 'mean_word_length': 3.5290858725761773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4072538', 'n_tokens_mistral': 494, 'n_tokens_neox': 469, 'n_words': 92}