GNUnet  0.20.0
httpdomain.httpdomain.DocRef Class Reference
Inheritance diagram for httpdomain.httpdomain.DocRef:
[legend]
Collaboration diagram for httpdomain.httpdomain.DocRef:
[legend]

Public Member Functions

def __init__ (self, base_url, anchor, section)
 
def __repr__ (self)
 

Data Fields

 base_url
 
 anchor
 
 section
 

Detailed Description

Represents a reference to an abstract specification.

Definition at line 39 of file httpdomain.py.

Constructor & Destructor Documentation

◆ __init__()

def httpdomain.httpdomain.DocRef.__init__ (   self,
  base_url,
  anchor,
  section 
)

Definition at line 42 of file httpdomain.py.

42  def __init__(self, base_url, anchor, section):
43  self.base_url = base_url
44  self.anchor = anchor
45  self.section = section
46 

Member Function Documentation

◆ __repr__()

def httpdomain.httpdomain.DocRef.__repr__ (   self)
Returns the URL onto related specification section for the related
object.

Definition at line 47 of file httpdomain.py.

47  def __repr__(self):
48  """Returns the URL onto related specification section for the related
49  object."""
50  return '{0}#{1}{2}'.format(self.base_url, self.anchor, self.section)
51 
52 

References httpdomain.httpdomain.DocRef.anchor, httpdomain.httpdomain.DocRef.base_url, httpdomain.httpdomain.DocRef.section, GNUNET_DATACACHE_Handle.section, GNUNET_CONFIGURATION_ConfigSettings.section, and GNUNET_DATACACHE_PluginEnvironment.section.

Field Documentation

◆ base_url

httpdomain.httpdomain.DocRef.base_url

Definition at line 43 of file httpdomain.py.

Referenced by httpdomain.httpdomain.DocRef.__repr__().

◆ anchor

httpdomain.httpdomain.DocRef.anchor

Definition at line 44 of file httpdomain.py.

Referenced by httpdomain.httpdomain.DocRef.__repr__().

◆ section

httpdomain.httpdomain.DocRef.section

Definition at line 45 of file httpdomain.py.

Referenced by httpdomain.httpdomain.DocRef.__repr__().


The documentation for this class was generated from the following file: