ContextManager

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true ]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0 ]; edge [color=lightslategrey, penwidth=1 ]; subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=1]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", color=1, label="Abjad\nObject", target=_top]; "abjad.system.ContextManager.ContextManager" [URL="../api/abjad/system/ContextManager.html#abjad.system.ContextManager.ContextManager", color=black, fontcolor=white, label="Context\nManager", shape=oval, style="bold, filled", target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.ContextManager.ContextManager"; "abjad.system.FilesystemState.FilesystemState" [URL="../api/abjad/system/FilesystemState.html#abjad.system.FilesystemState.FilesystemState", color=1, label="Filesystem\nState", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.FilesystemState.FilesystemState" [minlen=1]; "abjad.system.ForbidUpdate.ForbidUpdate" [URL="../api/abjad/system/ForbidUpdate.html#abjad.system.ForbidUpdate.ForbidUpdate", color=1, label="Forbid\nUpdate", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.ForbidUpdate.ForbidUpdate" [minlen=2]; "abjad.system.NullContextManager.NullContextManager" [URL="../api/abjad/system/NullContextManager.html#abjad.system.NullContextManager.NullContextManager", color=1, label="Null\nContext\nManager", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.NullContextManager.NullContextManager" [minlen=1]; "abjad.system.ProgressIndicator.ProgressIndicator" [URL="../api/abjad/system/ProgressIndicator.html#abjad.system.ProgressIndicator.ProgressIndicator", color=1, label="Progress\nIndicator", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.ProgressIndicator.ProgressIndicator" [minlen=2]; "abjad.system.RedirectedStreams.RedirectedStreams" [URL="../api/abjad/system/RedirectedStreams.html#abjad.system.RedirectedStreams.RedirectedStreams", color=1, label="Redirected\nStreams", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.RedirectedStreams.RedirectedStreams" [minlen=1]; "abjad.system.TemporaryDirectory.TemporaryDirectory" [URL="../api/abjad/system/TemporaryDirectory.html#abjad.system.TemporaryDirectory.TemporaryDirectory", color=1, label="Temporary\nDirectory", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.TemporaryDirectory.TemporaryDirectory" [minlen=2]; "abjad.system.TemporaryDirectoryChange.TemporaryDirectoryChange" [URL="../api/abjad/system/TemporaryDirectoryChange.html#abjad.system.TemporaryDirectoryChange.TemporaryDirectoryChange", color=1, label="Temporary\nDirectory\nChange", target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.TemporaryDirectoryChange.TemporaryDirectoryChange" [minlen=1]; "abjad.system.Timer.Timer" [URL="../api/abjad/system/Timer.html#abjad.system.Timer.Timer", color=1, label=Timer, target=_top]; "abjad.system.ContextManager.ContextManager" -> "abjad.system.Timer.Timer" [minlen=2]; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", color=2, label=object, target=_top]; } "builtins.object" -> "abjad.system.AbjadObject.AbjadObject" [minlen=1]; }

abstract class abjad.system.ContextManager.ContextManager

An abstract context manager class.


Attributes Summary

__enter__ Enters context manager.
__exit__ Exits context manager.

Special methods

abstract __enter__()

Enters context manager.

abstract __exit__(exc_type, exc_value, traceback)

Exits context manager.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.