tracemalloc.total_ordering
Prev: tracemalloc.take_snapshot | Up: tracemalloc | Next: tracemalloc.Trace
Rel: tracemalloc.BaseFilter, tracemalloc.clear_traces, tracemalloc.DomainFilter, tracemalloc.Filter
Ref: docs.python.org — tracemalloc.total_ordering
Tags: #public #python3 #stdlib #tracemalloc
Import
import tracemalloc
from tracemalloc import total_ordering
Signature & Overview
tracemalloc.total_ordering(cls)
Class decorator that fills in missing ordering methods
Usage
import functools, tracemalloc
assert tracemalloc.total_ordering is functools.total_ordering
Gotchas
- Internal re-export: Import
total_orderingfromfunctools.
REPL Inspect
from tracemalloc import total_ordering
help(total_ordering)
Linked from
Related notes
- tuts/python3/stdlib_module/tracemalloc/take_snapshot Linked here; links to this page; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/Trace Linked here; links to this page; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/tracemalloc/BaseFilter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/clear_traces Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/DomainFilter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/Filter Linked here; shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/Frame shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/get_object_traceback shared tags: #stdlib, #tracemalloc
- tuts/python3/stdlib_module/tracemalloc/get_traceback_limit shared tags: #stdlib, #tracemalloc