File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ always available. Unless explicitly noted otherwise, all variables are read-only
3030 .. code-block :: python
3131
3232 >> > import sys
33- >> > getattr (sys, ' abiflags' , ' ' )
34- DeprecationWarning : sys.abiflags will be set to a meaningful value on all platforms ...
33+ >> > getattr (sys, ' abiflags' , None )
34+ < python- input - 1 > :1 : DeprecationWarning : sys.abiflags will be set to a meaningful value on all platforms ...
35+ >> > hasattr (sys, ' abiflags' )
36+ < python- input - 2 > :1 : DeprecationWarning : sys.abiflags will be set to a meaningful value on all platforms ...
37+ False
3538
3639 Due to historical reasons, :data: `sys.abiflags ` is not covered by
3740 :pep: `3149 ` on Windows. Now we have multiple builds, such as the
You can’t perform that action at this time.
0 commit comments