rust/hg-cpython/src/filepatterns.rs
changeset 42841 ce6797ef6eab
parent 42634 0247601869ba
child 42957 7a01778bc7b7
equal deleted inserted replaced
42840:b1b984f9c01d 42841:ce6797ef6eab
     6 // This software may be used and distributed according to the terms of the
     6 // This software may be used and distributed according to the terms of the
     7 // GNU General Public License version 2 or any later version.
     7 // GNU General Public License version 2 or any later version.
     8 
     8 
     9 //! Bindings for the `hg::filepatterns` module provided by the
     9 //! Bindings for the `hg::filepatterns` module provided by the
    10 //! `hg-core` crate. From Python, this will be seen as `rustext.filepatterns`
    10 //! `hg-core` crate. From Python, this will be seen as `rustext.filepatterns`
    11 //! and can be used as replacement for the the pure `filepatterns` Python module.
    11 //! and can be used as replacement for the the pure `filepatterns` Python
       
    12 //! module.
    12 //!
    13 //!
    13 use crate::exceptions::{PatternError, PatternFileError};
    14 use crate::exceptions::{PatternError, PatternFileError};
    14 use cpython::{
    15 use cpython::{
    15     PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject,
    16     PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject,
    16 };
    17 };