Skip to content

Commit 29e043c

Browse files
[libclang/python] Fix some minor typos (#74292)
These patches do not change the functionality of the library. They simply correct comments and documentation. * Add a missing space in a the `FixIt` class comment * Fix an llvm-project path in the `README.txt`
1 parent 3e6da32 commit 29e043c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/bindings/python/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You may need to set CLANG_LIBRARY_PATH so that the Clang library can be
88
found. The unit tests are designed to be run with any standard test
99
runner. For example:
1010
--
11-
$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
11+
$ env PYTHONPATH=$(echo ~/llvm/clang/bindings/python/) \
1212
CLANG_LIBRARY_PATH=$(llvm-config --libdir) \
1313
python -m unittest discover -v
1414
tests.cindex.test_index.test_create ... ok

clang/bindings/python/clang/cindex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def from_param(self):
535535
class FixIt(object):
536536
"""
537537
A FixIt represents a transformation to be applied to the source to
538-
"fix-it". The fix-it shouldbe applied by replacing the given source range
538+
"fix-it". The fix-it should be applied by replacing the given source range
539539
with the given value.
540540
"""
541541

0 commit comments

Comments
 (0)