Skip to content

Commit

Permalink
Add currently supported version to the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Oct 28, 2018
1 parent 0960623 commit 58258d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# rust-python-parser
A Python parser for Rust libraries and programs.

Currently supports Python 3.7's syntax (and Python 3.8 up to
[2018-09-22](https://github.com/python/cpython/commit/fd97d1f1af910a6222ea12aec42c456b64f9aee4)).
9 changes: 7 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@
//! # String encoding
//!
//! `ast::PyString`s are WTF8-encoded if the `wtf8` feature is enabled
//! (the default) allowing full support for Python's string litteral.
//! (the default) allowing full support for Python's string literals.
//!
//! If that feature is disabled, they default to regular Rust string
//! If that feature is disabled, they default to regular Rust strings.
//! Note that without the `wtf8` feature, some valid string
//! literals will be badly parsed (missing characters).
//!
//! # Python version support
//!
//! Currently supports Python 3.7's syntax (and Python 3.8 up to
//! [2018-09-22](https://github.com/python/cpython/commit/fd97d1f1af910a6222ea12aec42c456b64f9aee4)).
//!
//! # Example
//!
//! ```
Expand Down

0 comments on commit 58258d1

Please sign in to comment.