diff -crN '--exclude=.git' '--exclude=.gitee' '--exclude=.vscode' ipaddress-1.0.22/ipaddress.py ipaddress-1.0.22-v1.0/ipaddress.py
*** ipaddress-1.0.22/ipaddress.py	2018-04-16 02:00:41.000000000 +0800
--- ipaddress-1.0.22-v1.0/ipaddress.py	2023-10-26 19:51:58.044810776 +0800
***************
*** 1103,1109 ****
          try:
              # Always false if one is v4 and the other is v6.
              if a._version != b._version:
!                 raise TypeError("%s and %s are not of the same version" (a, b))
              return (b.network_address <= a.network_address and
                      b.broadcast_address >= a.broadcast_address)
          except AttributeError:
--- 1103,1109 ----
          try:
              # Always false if one is v4 and the other is v6.
              if a._version != b._version:
!                 raise TypeError("%s and %s are not of the same version" % (a, b))
              return (b.network_address <= a.network_address and
                      b.broadcast_address >= a.broadcast_address)
          except AttributeError: