mirror of
https://github.com/lloeki/python-dcpu_16.git
synced 2025-12-06 09:54:39 +01:00
docstring
This commit is contained in:
parent
d95072ceb4
commit
d638ebe7ea
1 changed files with 1 additions and 0 deletions
|
|
@ -334,6 +334,7 @@ class Memory(object):
|
|||
class CPU(object):
|
||||
"""DCPU-16"""
|
||||
def __init__(c, memory=Memory(), debug=False):
|
||||
"""If you don't specify memory, CPUs will share the same, default memory object"""
|
||||
c.m = memory
|
||||
c.clear()
|
||||
c.reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue