Sitelet https://github.com/andreikop/cpp2python/commit/a863ee5aef9d1a9699e55c002f00e9a434e241d5
Skip to content

Commit a863ee5

Browse files
committed
readme: break long lines
1 parent 76b91d8 commit a863ee5

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
The script helps to convert C/C++ sources to C/C++ -like Python sources.
44

5-
It does some simple edit operations like removing semicolons and type declarations. After it you must edit code manually, but you'll probably spend less time doing it.
5+
It does some simple edit operations like removing semicolons and type declarations.
6+
After it you must edit code manually, but you'll probably spend less time doing it.
67

78
Example:
89
```
@@ -12,17 +13,20 @@ if (a && b) --> if a and b:
1213
} -->
1314
```
1415

15-
The utility **will** make mistakes and **will not** generate ready for use code, therefore it won't be useful for you unless you know both C/C++ and Python.
16+
The utility **will** make mistakes and **will not** generate ready for use code,
17+
therefore it won't be useful for you unless you know both C/C++ and Python.
1618

17-
For better result, it is recommended to format your code to ANSI style before performing conversion.
19+
For better result, it is recommended to format your code to ANSI style
20+
before performing conversion.
1821

1922
```
2023
astyle --style=ansi your.cpp source.cpp files.cpp
2124
```
2225

2326
### Usage
2427

25-
cpp2python.py DIR Find C/C++ files in the directory by suffix and process.
28+
cpp2python.py DIR Find C/C++ files in the directory
29+
by suffix and process.
2630
cpp2python.py FILE Process the file
2731
cpp2python.py -v|--version|-h|--help Display the help message
2832

0 commit comments

Comments
 (0)