(&self, f: &mut fmt::Formatter)
| 13 | |
| 14 | impl fmt::Display for PythonVersion { |
| 15 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { |
| 16 | self.major.fmt(f)?; |
| 17 | f.write_str(".")?; |
| 18 | match self.minor { |
| 19 | Some(minor) => minor.fmt(f)?, |
| 20 | None => f.write_str("*")?, |
| 21 | }; |
| 22 | Ok(()) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | const CFG_KEY: &str = "py_sys_config"; |
nothing calls this directly
no outgoing calls
no test coverage detected