<refentry id="class-url">
  <refnamediv>
    <refname>Fields.URL</refname>
    <refpurpose>Holds an URL and give access to its components</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <programlisting>
class <classname>Fields.URL</classname>:
    <link linkend="mem-url-url"><varname>self.url</varname></link>

    def <link linkend="meth-url-init">__init__</link> (self, url):
</programlisting>
  </refsynopsisdiv>

  <refsect1>
    <title>Usage</title> 

    <para>URL store in a homegeneous manner file names and general URL
    objects, so that  they can be accessed by the  same methods. A URL
    object is hashable and can be used as a dictionnary key.</para>
  </refsect1>

  <refsect1>
    <title>Members</title>
    <refsect2 id="mem-url-url">
      <title>self.url</title>
      <para>Holds the tuple describing the URL.</para>
    </refsect2>
  </refsect1>

  <refsect1>
    <title>Methods</title>
    
    <refsect2 id="meth-url-init">
      <title>__init__ (self, url)</title>
      <para>Instantiates an URL from its string description. In the
      case of a file, user directory expansion is performed.</para>
    </refsect2>

  </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:nil
sgml-parent-document:("pyblio.sgml" "reference" "refentry")
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
