| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,7 +178,12 @@ BufferRegion::to_string_argb(const Py::Tuple &args) | |||
| 178 | 178 | } | |
| 179 | 179 | } | |
| 180 | 180 | ||
| 181 | - return Py::String(str, true); | ||
| 181 | + #if PY3K | ||
| 182 | + return Py::Bytes | ||
| 183 | + #else | ||
| 184 | + return Py::String | ||
| 185 | + #endif | ||
| 186 | + (str, true); | ||
| 182 | 187 | } | |
| 183 | 188 | ||
| 184 | 189 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments