久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='OR4Rv'><style id='OR4Rv'><dir id='OR4Rv'><q id='OR4Rv'></q></dir></style></legend>
    • <bdo id='OR4Rv'></bdo><ul id='OR4Rv'></ul>

  • <tfoot id='OR4Rv'></tfoot>
    <i id='OR4Rv'><tr id='OR4Rv'><dt id='OR4Rv'><q id='OR4Rv'><span id='OR4Rv'><b id='OR4Rv'><form id='OR4Rv'><ins id='OR4Rv'></ins><ul id='OR4Rv'></ul><sub id='OR4Rv'></sub></form><legend id='OR4Rv'></legend><bdo id='OR4Rv'><pre id='OR4Rv'><center id='OR4Rv'></center></pre></bdo></b><th id='OR4Rv'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='OR4Rv'><tfoot id='OR4Rv'></tfoot><dl id='OR4Rv'><fieldset id='OR4Rv'></fieldset></dl></div>

        <small id='OR4Rv'></small><noframes id='OR4Rv'>

        扭曲的文檔字符串中這些格式的含義是什么?

        What#39;s meaning of these formats in twisted#39;s docstring?(扭曲的文檔字符串中這些格式的含義是什么?)
        <legend id='M5N0X'><style id='M5N0X'><dir id='M5N0X'><q id='M5N0X'></q></dir></style></legend>
          1. <small id='M5N0X'></small><noframes id='M5N0X'>

              <bdo id='M5N0X'></bdo><ul id='M5N0X'></ul>
              <tfoot id='M5N0X'></tfoot>

                  <tbody id='M5N0X'></tbody>

                <i id='M5N0X'><tr id='M5N0X'><dt id='M5N0X'><q id='M5N0X'><span id='M5N0X'><b id='M5N0X'><form id='M5N0X'><ins id='M5N0X'></ins><ul id='M5N0X'></ul><sub id='M5N0X'></sub></form><legend id='M5N0X'></legend><bdo id='M5N0X'><pre id='M5N0X'><center id='M5N0X'></center></pre></bdo></b><th id='M5N0X'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='M5N0X'><tfoot id='M5N0X'></tfoot><dl id='M5N0X'><fieldset id='M5N0X'></fieldset></dl></div>

                  本文介紹了扭曲的文檔字符串中這些格式的含義是什么?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在twisted的源代碼中,很多文檔字符串包含這樣的格式:L{xxx}或C{xxx}或以'@'開頭的行,它們的含義是什么?

                  In twisted's sourcecode, many docstrings contain formats like this: L{xxx} or C{xxx} or a line begin with an '@', what's their meanings?

                  例如,在twisted/internet/interfaces.py中:

                  for example, in twisted/internet/interfaces.py:

                  def registerProducer(producer, streaming):
                      """
                      Register to receive data from a producer.
                      ...
                      For L{IPullProducer} providers, C{resumeProducing} will be called once
                      each time data is required.
                      ...
                      @type producer: L{IProducer} provider
                      ...
                      @return: C{None}
                      """
                  

                  L{IPullProducer} , C{resumeProducing} , @type producer ?

                  順便問一下,這些格式是標準 python 文檔字符串格式的一部分嗎?如果是這樣,我應該參考哪里?謝謝:)

                  By the way, are these formats a part of standard python docstring formats? If so, where should I refer to? Thanks :)

                  推薦答案

                  Twisted 使用的文檔格式是 Epytext,記錄在 epydoc.sourceforge.net 上.

                  The documentation format used by Twisted is Epytext, which is documented on epydoc.sourceforge.net.

                  L{} 表示鏈接"(即這是一個 Python 標識符,請鏈接到它") C{} 表示代碼"(即 hello C{foo} bar 的格式應類似于hello foo bar").I{} 僅表示斜體".您可以在 epytext 文檔中看到更多字段.

                  L{} means "link" (i.e. "this is a Python identifier, please link to it") C{} means "code" (i.e. hello C{foo} bar should be formatted like "hello foo bar"). I{} just means "in italics". You can see more fields in the epytext documentation.

                  Twisted 項目使用 pydoctor 生成其文檔,使用像 pydoctor --add-package 這樣的調用扭曲.它還有更多內容,可以生成指向 Twisted 所依賴的其他幾個項目的鏈接,但如果你想向 Twisted 貢獻文檔字符串,你可以使用它來獲得一個想法.您也可以使用 epydoc 本身生成文檔,使用 epydoc twisted,但 epydoc 不了解 Zope 接口,因此不會自動將類鏈接到它們實現的接口.

                  The Twisted project generates its documentation with pydoctor, using an invocation like pydoctor --add-package twisted. There's a little more to it, to generate links to a couple of other projects that Twisted relies upon, but you can use that to get an idea if you want to contribute docstrings to Twisted. You can also generate the documentation with epydoc itself, using epydoc twisted, but epydoc doesn't know about Zope Interface and so won't automatically link classes to the interfaces that they implement.

                  為每個版本生成的 API 文檔發布在 twistedmatrix.com,您可以在那里瀏覽它.

                  The generated API documentation for each release is published on twistedmatrix.com, and you can browse it there.

                  這篇關于扭曲的文檔字符串中這些格式的含義是什么?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                • <legend id='YhfEQ'><style id='YhfEQ'><dir id='YhfEQ'><q id='YhfEQ'></q></dir></style></legend>
                • <small id='YhfEQ'></small><noframes id='YhfEQ'>

                      <tfoot id='YhfEQ'></tfoot>

                    1. <i id='YhfEQ'><tr id='YhfEQ'><dt id='YhfEQ'><q id='YhfEQ'><span id='YhfEQ'><b id='YhfEQ'><form id='YhfEQ'><ins id='YhfEQ'></ins><ul id='YhfEQ'></ul><sub id='YhfEQ'></sub></form><legend id='YhfEQ'></legend><bdo id='YhfEQ'><pre id='YhfEQ'><center id='YhfEQ'></center></pre></bdo></b><th id='YhfEQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YhfEQ'><tfoot id='YhfEQ'></tfoot><dl id='YhfEQ'><fieldset id='YhfEQ'></fieldset></dl></div>
                        <tbody id='YhfEQ'></tbody>

                        • <bdo id='YhfEQ'></bdo><ul id='YhfEQ'></ul>
                            主站蜘蛛池模板: 国产精品完整版 | 欧美一区 | 完全免费在线视频 | 国产一区二区三区在线 | yeyeav| 中文字幕加勒比 | 免费黄色网址视频 | 国产精品成人在线播放 | 欧美一级电影免费 | 欧美日韩久久 | 丝袜天堂 | 色婷婷久久久久swag精品 | 国产精品女人久久久 | 亚洲一区二区精品视频 | 麻豆视频在线免费观看 | 亚洲精品乱码久久久久久按摩观 | 乳色吐息在线观看 | 亚洲成人网在线播放 | 久草视频观看 | 久久99精品久久久 | 国产一区欧美 | 精品色 | 日韩日韩日韩日韩日韩日韩日韩 | 特一级毛片 | 亚洲精品一区二区三区在线 | 韩日精品视频 | 午夜精品一区二区三区在线观看 | 99视频精品 | 久久精品国产一区 | 亚洲电影中文字幕 | 日韩精品在线视频 | 国产aⅴ| 日日碰狠狠躁久久躁婷婷 | 国产午夜三级一区二区三 | 国产高清免费视频 | 黄色一级大片视频 | av黄色在线 | 成人在线视频网站 | 国产成人精品免费 | 亚洲资源站| 日韩电影免费在线观看中文字幕 |