parameters: (self, netmask)
return_statement: return IP('%s/%s' % (self, netmask), make_net=True)
docstring: Transform a single IP address into a network specification by
          applying the given netmask.
  
          Returns a new IP instance.
  
          >>> print IP('127.0.0.1').make_net('255.0.0.0')
          127.0.0.0/8
docstring_summary: Transform a single IP address into a network specification by
          applying the given netmask.
docstring_tokens: Transform a single IP address into a network specification by applying the given netmask .
function: def make_net(self, netmask):
          """Transform a single IP address into a network specification by
          applying the given netmask.
  
          Returns a new IP instance.
  
          >>> print IP('127.0.0.1').make_net('255.0.0.0')
          127.0.0.0/8
          """
          if '/' in str(netmask):
              raise ValueError, "invalid netmask (%s)" % netmask
          return IP('%s/%s' % (self, netmask), make_net=True)
function_tokens: def make_net ( self , netmask ) : if '/' in str ( netmask ) : raise ValueError , "invalid netmask (%s)" % netmask return IP ( '%s/%s' % ( self , netmask ) , make_net = True )