MCPcopy Create free account
hub / github.com/ActiveState/code / dedent

Method dedent

recipes/Python/205451_Povray_for_python/recipe-205451.py:13–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 def indent(self):
12 self.__indent += 1
13 def dedent(self):
14 self.__indent -= 1
15 assert self.__indent >= 0
16 def block_begin(self):
17 self.writeln( "{" )
18 self.indent()

Callers 15

block_endMethod · 0.95
test_exit_cleanlyMethod · 0.80
test_exceptionMethod · 0.80
test_signalMethod · 0.80
test_appended_signalMethod · 0.80
test_kinterruptMethod · 0.80
test_systemexitMethod · 0.80
test_called_onceMethod · 0.80
test_cascadeMethod · 0.80
test_all_exit_sigsMethod · 0.80
test_as_decoMethod · 0.80

Calls

no outgoing calls

Tested by 12

test_exit_cleanlyMethod · 0.64
test_exceptionMethod · 0.64
test_signalMethod · 0.64
test_appended_signalMethod · 0.64
test_kinterruptMethod · 0.64
test_systemexitMethod · 0.64
test_called_onceMethod · 0.64
test_cascadeMethod · 0.64
test_all_exit_sigsMethod · 0.64
test_as_decoMethod · 0.64
test_err_in_funMethod · 0.64