Skip to content

Commit 1cee445

Browse files
committed
Fix typos
1 parent db08789 commit 1cee445

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

docs/how-to-do.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ are the files list in the output path :file:`dist`::
1515
:file:`dist/foo.py` is obfuscated script, the content is::
1616

1717

18-
from pytransfrom import pyarmor_runtime
18+
from pytransform import pyarmor_runtime
1919
pyarmor_runtime()
2020

2121
__pyarmor__(__name__, __file__, b'\x06\x0f...')
@@ -101,7 +101,7 @@ How to run obfuscated script ``dist/foo.py`` by Python Interpreter?
101101

102102
The first 2 lines, which called ``Bootstrap Code``::
103103

104-
from pytransfrom import pyarmor_runtime
104+
from pytransform import pyarmor_runtime
105105
pyarmor_runtime()
106106

107107
It will fulfil the following tasks

docs/protect-python-scripts-by-pyarmor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ are the files list in the output path `dist`
2424
`dist/foo.py` is obfuscated script, the content is
2525

2626
``` python
27-
from pytransfrom import pyarmor_runtime
27+
from pytransform import pyarmor_runtime
2828
pyarmor_runtime()
2929

3030
__pyarmor__(__name__, __file__, b'\x06\x0f...')
@@ -111,7 +111,7 @@ How to run obfuscated script `dist/foo.py` by Python Interpreter?
111111
The first 2 lines, which called `Bootstrap Code`
112112
113113
``` python
114-
from pytransfrom import pyarmor_runtime
114+
from pytransform import pyarmor_runtime
115115
pyarmor_runtime()
116116
```
117117

docs/understand-obfuscated-scripts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The module `dist/mymodule.py` would be like this::
3535

3636
The entry script `dist/myscript.py` would be like this::
3737

38-
from pytransfrom import pyarmor_runtime
38+
from pytransform import pyarmor_runtime
3939
pyarmor_runtime()
4040

4141
__pyarmor__(__name__, __file__, b'\x0a\x02...')
@@ -48,7 +48,7 @@ Bootstrap Code
4848
The first 2 lines in the entry script called `Bootstrap Code`. It's
4949
only in the entry script::
5050

51-
from pytransfrom import pyarmor_runtime
51+
from pytransform import pyarmor_runtime
5252
pyarmor_runtime()
5353

5454
The bootstrap code can only be run once in same Python interpreter,

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ run the obfuscated script.
4141
Normally you name one script on the command line. It's entry
4242
script. The content of :file:`myscript.py` would be like this::
4343

44-
from pytransfrom import pyarmor_runtime
44+
from pytransform import pyarmor_runtime
4545
pyarmor_runtime()
4646

4747
__pyarmor__(__name__, __file__, b'\x06\x0f...')

docs/zh-cn/protect-python-scripts-by-pyarmor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PyArmor 是一个用于加密和保护 Python 源代码的小工具。它能够
2424
`dist/foo.py` 是加密后的脚本,它的内容如下
2525

2626
``` python
27-
from pytransfrom import pyarmor_runtime
27+
from pytransform import pyarmor_runtime
2828
pyarmor_runtime()
2929

3030
__pyarmor__(__name__, __file__, b'\x06\x0f...')
@@ -109,7 +109,7 @@ PyArmor 是怎么加密 Python 源代码呢?
109109
上面我们看到 `dist/foo.py` 的前两行是这个样子
110110
111111
``` python
112-
from pytransfrom import pyarmor_runtime
112+
from pytransform import pyarmor_runtime
113113
pyarmor_runtime()
114114
```
115115

src/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ are the files list in the output path ``dist``::
2222

2323
``dist/foo.py`` is obfuscated script, the content is::
2424

25-
from pytransfrom import pyarmor_runtime
25+
from pytransform import pyarmor_runtime
2626
pyarmor_runtime()
2727

2828
__pyarmor__(__name__, __file__, b'\x06\x0f...', 1)

src/examples/testmod/queens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# __wraparmor__ will be added to builtins from bootstrap code of pyarmor
1212
#
13-
# from pytransfrom import pyarmor_runtime()
13+
# from pytransform import pyarmor_runtime()
1414
# pyarmor_runtime()
1515
#
1616
try:

src/pyarmor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _build(args):
248248
else:
249249
logging.info('\tIn order to import obfuscated scripts, insert ')
250250
logging.info('\t2 lines in entry script:')
251-
logging.info('\t\tfrom pytransfrom import pyarmor_runtime')
251+
logging.info('\t\tfrom pytransform import pyarmor_runtime')
252252
logging.info('\t\tpyarmor_runtime()')
253253

254254
logging.info('Build project OK.')

src/user-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Obfuscated scripts are saved in default output path `dist`, the content of
9797
obfuscated script like this
9898

9999
``` python
100-
from pytransfrom import pyarmor_runtime
100+
from pytransform import pyarmor_runtime
101101
pyarmor_runtime()
102102

103103
__pyarmor__(__name__, __file__, b'\x06\x0f...')

0 commit comments

Comments
 (0)