Lines Matching refs:value
800 When an argument is given as a string, will use the value of that
1217 # Check that setting it to an invalid value raises ValueError
1544 self.assertEqual(repr(family), '<AddressFamily.AF_INET: %r>' % family.value)
1545 self.assertEqual(str(family), str(family.value))
1547 self.assertEqual(repr(type), '<SocketKind.SOCK_STREAM: %r>' % type.value)
1548 self.assertEqual(str(type), str(type.value))
1620 # with an invalid domain value.
1826 self.assertEqual(repr(s.family), '<AddressFamily.AF_INET: %r>' % s.family.value)
1827 self.assertEqual(repr(s.type), '<SocketKind.SOCK_STREAM: %r>' % s.type.value)
1828 self.assertEqual(str(s.family), str(s.family.value))
1829 self.assertEqual(str(s.type), str(s.type.value))
2737 # Called by doRecvmsg() with the return value of recvmsg() or
2764 # Method to check the value of msg_flags returned by recvmsg[_into]().
2813 # Compare with given msg_flags value
3448 # Invalid file descriptor value that's unlikely to evaluate to a
3450 # value (which shouldn't actually happen).
3477 # of the given return value from recvmsg() or recvmsg_into().
3816 # Test value to use when setting hop limit of packet
3819 # Test value to use when setting traffic class of packet.
4501 # appropriate time value to use. Use setitimer() if available.
6006 # since the internal python timeout value isn't transferred.
6013 # internally windows will have picked the correct value.
6015 # 0. For the shared socket, the python value is recreated
6016 # from the actual value, so it may not compare correctly.