@@ -246,7 +246,7 @@ mod _ssl {
246246
247247 /// An error occurred in the SSL implementation.
248248 #[ pyattr]
249- #[ pyexception( name = "SSLError" , base = " PyOSError" ) ]
249+ #[ pyexception( name = "SSLError" , base = PyOSError ) ]
250250 #[ derive( Debug ) ]
251251 pub struct PySslError { }
252252
@@ -269,7 +269,7 @@ mod _ssl {
269269
270270 /// A certificate could not be verified.
271271 #[ pyattr]
272- #[ pyexception( name = "SSLCertVerificationError" , base = " PySslError" ) ]
272+ #[ pyexception( name = "SSLCertVerificationError" , base = PySslError ) ]
273273 #[ derive( Debug ) ]
274274 pub struct PySslCertVerificationError { }
275275
@@ -278,7 +278,7 @@ mod _ssl {
278278
279279 /// SSL/TLS session closed cleanly.
280280 #[ pyattr]
281- #[ pyexception( name = "SSLZeroReturnError" , base = " PySslError" ) ]
281+ #[ pyexception( name = "SSLZeroReturnError" , base = PySslError ) ]
282282 #[ derive( Debug ) ]
283283 pub struct PySslZeroReturnError { }
284284
@@ -287,7 +287,7 @@ mod _ssl {
287287
288288 /// Non-blocking SSL socket needs to read more data.
289289 #[ pyattr]
290- #[ pyexception( name = "SSLWantReadError" , base = " PySslError" ) ]
290+ #[ pyexception( name = "SSLWantReadError" , base = PySslError ) ]
291291 #[ derive( Debug ) ]
292292 pub struct PySslWantReadError { }
293293
@@ -296,7 +296,7 @@ mod _ssl {
296296
297297 /// Non-blocking SSL socket needs to write more data.
298298 #[ pyattr]
299- #[ pyexception( name = "SSLWantWriteError" , base = " PySslError" ) ]
299+ #[ pyexception( name = "SSLWantWriteError" , base = PySslError ) ]
300300 #[ derive( Debug ) ]
301301 pub struct PySslWantWriteError { }
302302
@@ -305,7 +305,7 @@ mod _ssl {
305305
306306 /// System error when attempting SSL operation.
307307 #[ pyattr]
308- #[ pyexception( name = "SSLSyscallError" , base = " PySslError" ) ]
308+ #[ pyexception( name = "SSLSyscallError" , base = PySslError ) ]
309309 #[ derive( Debug ) ]
310310 pub struct PySslSyscallError { }
311311
@@ -314,7 +314,7 @@ mod _ssl {
314314
315315 /// SSL/TLS connection terminated abruptly.
316316 #[ pyattr]
317- #[ pyexception( name = "SSLEOFError" , base = " PySslError" ) ]
317+ #[ pyexception( name = "SSLEOFError" , base = PySslError ) ]
318318 #[ derive( Debug ) ]
319319 pub struct PySslEOFError { }
320320
0 commit comments