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

Method edit

recipes/Python/492211_dal3py/recipe-492211.py:13–17  ·  view source on GitHub ↗
(self, block, status)

Source from the content-addressed store, hash-verified

11
12 # Change Status Information
13 def edit(self, block, status):
14 assert type(block) is int and 0 <= block < self.__blocks
15 assert type(status) is int and 1 <= status <= 255
16 assert self.__BIT[block] != 0
17 self.__BIT[block] = status
18
19################################################################################
20

Callers 2

write_directoryMethod · 0.45
write_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected