Docs.rs
python-ast-1.1.0
python-ast 1.1.0
Permalink
Docs.rs crate page
Apache-2.0
01 August 2026
Links
Homepage
Repository
crates.io
Source
Owners
rexlunae
Dependencies
anyhow ^1.0
normal
anyhow-tracing ^0.2
normal
litrs ^1.0
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
proc-macro2 ^1.0
normal
pyo3 ^0.29
normal
quote ^1.0
normal
regex ^1.10
normal
serde ^1.0.195
normal
syn ^2.0
normal
thiserror ^2.0.12
normal
to_tokenstream ^0.1.3
normal
tracing ^0.1
normal
test-log ^0.2
dev
Versions
39.76%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
try_bytes
python_
ast
1.1.0
In python_
ast::
ast::
tree::
constant
python_ast
::
ast
::
tree
::
constant
Function
try_
bytes
Copy item path
Source
pub fn try_bytes(value: &
Bound
<'_,
PyAny
>) ->
PyResult
<
Option
<
Literal
<
String
>>>