Skip to content

Commit d89fb34

Browse files
committed
Fix bugs
1 parent 5651a19 commit d89fb34

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/security.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ need to inserted into the script. Here is sample code::
112112
'_pytransform', 'abspath', 'basename', 'byteorder',
113113
'c_char_p', 'c_int', 'c_void_p', 'calcsize', 'cdll',
114114
'dirname', 'encode', 'exists', 'exit',
115-
'format_platname', 'init_pytransform', 'init_runtime',
116-
'int', 'isinstance', 'join', 'lower', 'normpath', 'os',
117-
'path', 'platform', 'print', 'pyarmor_init',
118-
'pythonapi', 'restype', 'set_option', 'str', 'struct',
119-
'sys', 'system', 'version_info')
115+
'format_platname', 'get_error_msg', 'init_pytransform',
116+
'init_runtime', 'int', 'isinstance', 'join', 'lower',
117+
'normpath', 'os', 'path', 'platform', 'print',
118+
'pyarmor_init', 'pythonapi', 'restype', 'set_option',
119+
'str', 'struct', 'sys', 'system', 'version_info')
120120

121121
def check_lib_pytransform(filename):
122122
with open(filename, 'rb') as f:

src/examples/helloworld/foo.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ def check_mod_pytransform():
4848
'_pytransform', 'abspath', 'basename', 'byteorder',
4949
'c_char_p', 'c_int', 'c_void_p', 'calcsize', 'cdll',
5050
'dirname', 'encode', 'exists', 'exit',
51-
'format_platname', 'init_pytransform', 'init_runtime',
52-
'int', 'isinstance', 'join', 'lower', 'normpath', 'os',
53-
'path', 'platform', 'print', 'pyarmor_init',
54-
'pythonapi', 'restype', 'set_option', 'str', 'struct',
55-
'sys', 'system', 'version_info'])
51+
'format_platname', 'get_error_msg', 'init_pytransform',
52+
'init_runtime', 'int', 'isinstance', 'join', 'lower',
53+
'normpath', 'os', 'path', 'platform', 'print',
54+
'pyarmor_init', 'pythonapi', 'restype', 'set_option',
55+
'str', 'struct', 'sys', 'system', 'version_info'])
5656
code = '__code__' if sys.version_info[0] == 3 else 'func_code'
5757
closure = '__closure__' if sys.version_info[0] == 3 else 'func_closure'
5858

0 commit comments

Comments
 (0)