Skip to content

Commit 58258d1

Browse files
committed
Add currently supported version to the documentation.
1 parent 0960623 commit 58258d1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# rust-python-parser
22
A Python parser for Rust libraries and programs.
3+
4+
Currently supports Python 3.7's syntax (and Python 3.8 up to
5+
[2018-09-22](http://github.com/python/cpython/commit/fd97d1f1af910a6222ea12aec42c456b64f9aee4)).

src/lib.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@
1313
//! # String encoding
1414
//!
1515
//! `ast::PyString`s are WTF8-encoded if the `wtf8` feature is enabled
16-
//! (the default) allowing full support for Python's string litteral.
16+
//! (the default) allowing full support for Python's string literals.
1717
//!
18-
//! If that feature is disabled, they default to regular Rust string
18+
//! If that feature is disabled, they default to regular Rust strings.
1919
//! Note that without the `wtf8` feature, some valid string
2020
//! literals will be badly parsed (missing characters).
2121
//!
22+
//! # Python version support
23+
//!
24+
//! Currently supports Python 3.7's syntax (and Python 3.8 up to
25+
//! [2018-09-22](http://github.com/python/cpython/commit/fd97d1f1af910a6222ea12aec42c456b64f9aee4)).
26+
//!
2227
//! # Example
2328
//!
2429
//! ```

0 commit comments

Comments
 (0)