mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
format
This commit is contained in:
parent
ce2682a37f
commit
8e05c3ff0b
@ -5,11 +5,6 @@ class ConfigParser():
|
||||
content = ''
|
||||
config_dict = {}
|
||||
|
||||
def read(self, file_name):
|
||||
print('Error: read() method not implemented')
|
||||
raise
|
||||
self._parse()
|
||||
|
||||
def read_string(self, content):
|
||||
self.content = content
|
||||
self._parse()
|
||||
@ -96,3 +91,8 @@ class ConfigParser():
|
||||
print('Error: write() method not implemented')
|
||||
print(self.content)
|
||||
raise
|
||||
|
||||
def read(self, file_name):
|
||||
print('Error: read() method not implemented')
|
||||
raise
|
||||
self._parse()
|
||||
|
Loading…
x
Reference in New Issue
Block a user