Skip to content

Commit 562bd63

Browse files
authored
Merge pull request RustPython#2271 from RustPython/frozen-serde
Add derive(Serialize, Deserialize) to FrozenModule
2 parents 75161a6 + 656eb60 commit 562bd63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bytecode/src/bytecode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ impl fmt::Debug for CodeObject {
660660
}
661661
}
662662

663+
#[derive(Serialize, Deserialize)]
663664
pub struct FrozenModule {
664665
pub code: CodeObject,
665666
pub package: bool,

0 commit comments

Comments
 (0)